/* j3llyh34d AI, Design B (draft for the client to compare): dark-first, giant type, Bored-style motion.
   Loaded only on pages flagged _j3_design_b (body class j3-b). Static without JavaScript or under reduced motion. */

/* ---- Palette: B is always dark, whatever the system theme. Kit globals are remapped so every widget follows. ---- */
html[lang] body.j3-b.elementor-kit-18 {
  --e-global-color-primary: #F7F4EE; --e-global-color-secondary: #050B17; --e-global-color-text: #A6AEC2; --e-global-color-accent: #154EE8;
  --e-global-color-j3smoke: #0A1833; --e-global-color-j3surf: #101B31; --e-global-color-j3line: #22304F; --e-global-color-j3green: #1B2F7A;
  --e-global-color-j3dline: #22304F; --e-global-color-j3dmuted: #A6AEC2; --e-global-color-j3soft: #8EA4FF; --e-global-color-j3white: #FFFFFF; --e-global-color-j3link: #8EA4FF;
  --j3b-ink: #F7F4EE; --j3b-navy: #0A1833; --j3b-deep: #050B17; --j3b-surface: #101B31; --j3b-blue: #154EE8; --j3b-soft: #8EA4FF; --j3b-line: #22304F; --j3b-muted: #A6AEC2; --j3b-paper: #F7F4EE; --j3b-paper-2: #EFE8DD;
  background-color: #0A1833; color: #F7F4EE; color-scheme: dark;
}
html:has(body.j3-b) { background-color: #0A1833; color-scheme: dark; }
body.j3-b .j3-theme-toggle { display: none !important; }
body.j3-b ::selection { background: #154EE8; color: #FFFFFF; }
body.j3-b .elementor-widget-text-editor a { color: var(--j3b-soft); }

/* Paper and blue blocks: the same kit globals remapped inside the block, so widgets built with globals stay readable. */
body.j3-b .j3b-paper, body.j3-b .j3b-paper-2 {
  --e-global-color-primary: #0A1833; --e-global-color-secondary: #0A1833; --e-global-color-text: #565E73; --e-global-color-j3line: #DCD5C8; --e-global-color-j3dline: #DCD5C8;
  --e-global-color-j3link: #154EE8; --e-global-color-j3dmuted: #565E73; --e-global-color-j3soft: #154EE8;
  --e-global-color-j3smoke: #EFE8DD; --e-global-color-j3surf: #EFE8DD;
  --j3b-ink: #0A1833; --j3b-line: #DCD5C8; --j3b-muted: #565E73; --j3b-soft: #154EE8;
  background-color: #F7F4EE; color: #0A1833;
}
body.j3-b .j3b-paper-2 { --e-global-color-j3smoke: #F7F4EE; --e-global-color-j3surf: #F7F4EE; background-color: #EFE8DD; }
body.j3-b .j3b-blue {
  --e-global-color-primary: #FFFFFF; --e-global-color-secondary: #FFFFFF; --e-global-color-text: #E9EDF6; --e-global-color-j3line: rgba(255,255,255,.35); --e-global-color-j3dline: rgba(255,255,255,.35);
  --e-global-color-j3link: #FFFFFF; --e-global-color-j3dmuted: #E9EDF6; --e-global-color-j3soft: #FFFFFF; --e-global-color-j3smoke: #1B2F7A; --e-global-color-j3surf: #1B2F7A;
  --j3b-ink: #FFFFFF; --j3b-line: rgba(255,255,255,.35); --j3b-muted: #E9EDF6; --j3b-soft: #FFFFFF;
  background-color: #154EE8; color: #FFFFFF;
}
body.j3-b .j3b-deep { background-color: #050B17; }

/* ---- Type ---- */
body.j3-b .j3b-giant {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(52px, 11.6vw, 196px); line-height: .88; letter-spacing: -.02em; margin: 0; color: var(--j3b-ink);
}
body.j3-b .j3b-giant--md { font-size: clamp(44px, 8.4vw, 136px); }
body.j3-b .j3b-giant--sm { font-size: clamp(34px, 6.2vw, 96px); }
body.j3-b .j3b-giant .j3b-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
body.j3-b .j3b-giant .j3b-line > span { display: inline-block; will-change: transform; }
body.j3-b .j3b-giant .j3b-line--soft > span { color: var(--j3b-soft); }
body.j3-b .j3b-giant .j3b-line--outline > span { color: transparent; -webkit-text-stroke: 2px var(--j3b-ink); }
body.j3-b .j3b-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
body.j3-b .j3b-w > span { display: inline-block; }
body.j3-b .j3b-label { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--j3b-muted); }
body.j3-b .j3b-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Hero ---- */
body.j3-b .j3b-hero { position: relative; overflow: clip; } /* height per page from Elementor: 100vh home, 84vh elsewhere, content centred */
body.j3-b .j3b-hero .j3b-hero__copy { position: relative; z-index: 2; }
body.j3-b .j3b-hero .j3b-hero__lead { max-width: 30ch; }

/* ---- Cubes: CSS 3D, spinning on their own; the script adds pointer tilt and scroll drift. ---- */
body.j3-b .j3b-cubes { position: absolute; right: 4%; top: 10%; width: 46%; aspect-ratio: 1 / 1; max-width: 640px; perspective: 1400px; pointer-events: none; z-index: 1; }
body.j3-b .j3b-cubes__group { position: absolute; inset: 0; transform-style: preserve-3d; }
body.j3-b .j3b-cube { position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: j3b-spin var(--t, var(--j3b-spin-cube, 26s)) linear infinite; }
body.j3-b .j3b-cube--a { --s: 36%; --t: calc(var(--j3b-spin-cube, 26s) * 1.08); left: 30%; top: 22%; }
body.j3-b .j3b-cube--b { --s: 22%; --t: calc(var(--j3b-spin-cube, 26s) * .77); left: 4%; top: 58%; animation-direction: reverse; }
body.j3-b .j3b-cube--c { --s: 15%; --t: calc(var(--j3b-spin-cube, 26s) * .62); left: 72%; top: 4%; }
body.j3-b .j3b-face { position: absolute; inset: 0; border: 1px solid var(--j3b-line); background: rgba(16, 27, 49, .72); }
body.j3-b .j3b-face--core { background: var(--j3b-blue); border-color: var(--j3b-blue); }
body.j3-b .j3b-face--soft { border-color: var(--j3b-soft); }
body.j3-b .j3b-face--front { transform: translateZ(calc(var(--s) / 2)); }
body.j3-b .j3b-face--back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
body.j3-b .j3b-face--right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
body.j3-b .j3b-face--left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
body.j3-b .j3b-face--top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
body.j3-b .j3b-face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
/* The face transforms use the cube's own width; cubes are sized in % of the stage, so set the real size in px via the stage width. */
body.j3-b .j3b-cube { --s: calc(var(--stage, 560px) * var(--k)); }
body.j3-b .j3b-cube--a { --k: .36; } body.j3-b .j3b-cube--b { --k: .22; } body.j3-b .j3b-cube--c { --k: .15; }
body.j3-b .j3b-cubes { --stage: min(46vw, 640px); }
@keyframes j3b-spin { from { transform: rotateX(0) rotateY(0) rotateZ(0); } to { transform: rotateX(360deg) rotateY(360deg) rotateZ(0); } }
@media (max-width: 1024px) { body.j3-b .j3b-cubes { width: 60%; --stage: 60vw; right: -6%; top: 4%; opacity: .75; } }
@media (max-width: 767px) { body.j3-b .j3b-cubes { width: 90%; --stage: 90vw; right: -20%; top: -2%; opacity: .5; } }

/* ---- Marquee: giant words, every second one outlined; CSS loop by default, velocity-driven by the script. ---- */
body.j3-b .j3b-marquee { overflow: hidden; padding: .2em 0; }
body.j3-b .j3b-marquee__track { display: flex; width: max-content; will-change: transform; animation: j3b-marquee var(--t, var(--j3b-marquee-t, 46s)) linear infinite; }
body.j3-b .j3b-marquee--rev .j3b-marquee__track { animation-direction: reverse; }
body.j3-b .j3b-marquee span { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(52px, 9.5vw, 156px); line-height: 1; white-space: nowrap; padding-right: .42em; color: var(--j3b-ink); }
body.j3-b .j3b-marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--j3b-ink); }
body.j3-b .j3b-marquee--sm span { font-size: clamp(28px, 4vw, 56px); }
body.j3-b .j3b-marquee:hover .j3b-marquee__track { animation-play-state: paused; }
@keyframes j3b-marquee { to { transform: translateX(-50%); } }
html.j3b-ready body.j3-b .j3b-marquee__track { animation: none; }
/* the script leaves a band to this CSS loop (is-css) when "follow the scroll" is off in the settings, or its area is still */
html.j3b-ready body.j3-b .j3b-marquee.is-css .j3b-marquee__track { animation-name: j3b-marquee; animation-duration: var(--t, var(--j3b-marquee-t, 46s)); animation-timing-function: linear; animation-iteration-count: infinite; }

/* ---- Sticky stack: panels pin and pile up; the script shrinks the one being covered. ---- */
body.j3-b .j3b-stack { position: relative; }
body.j3-b .j3b-stack__item { position: sticky; top: 0; min-height: 100svh; display: flex; justify-content: center; transform-origin: center top; }
body.j3-b .j3b-stack__item .j3b-giant--md { max-width: 10ch; }
/* Lenis does the smooth scrolling, so the native smooth behaviour is switched off while it runs: ScrollTrigger measures the page by
   jumping to the top and back, and a smooth jump left it measuring at the restored scroll position after a reload, which put the
   pinned section (and every scroll trigger) in the wrong place. */
html.lenis { scroll-behavior: auto; }
/* The script drives these transforms on every scroll frame, so Elementor's container transition (transform .4s) is switched off:
   it made the panels lag behind their content and the pinned section glide down into place when the pin let go. */
body.j3-b .j3b-stack, body.j3-b .j3b-stack__item { transition: none; }
/* Sideways stack (j3b-stack--x): the script adds is-x on wide screens, then pins the section and slides the panels right to left. */
body.j3-b .j3b-stack--x.is-x { height: 100svh; overflow: hidden; background-color: var(--j3b-navy); } /* the first panel has no fill of its own */
body.j3-b .j3b-stack--x.is-x > .j3b-stack__item { position: absolute; inset: 0; min-height: 0; height: 100%; overflow: hidden; will-change: transform; }
body.j3-b .j3b-stack--x.is-x > .j3b-stack__item > .e-con-inner { will-change: transform; justify-content: center; } /* Elementor stretches the inner box to the full panel; centre the content in it */

/* ---- Rows with a floating reveal panel (mouse only) ---- */
body.j3-b .j3b-rows { border-bottom: 1px solid var(--j3b-line); }
body.j3-b .j3b-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px 0; border-top: 1px solid var(--j3b-line); text-decoration: none; color: var(--j3b-ink); }
body.j3-b .j3b-row__title { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 5.2vw, 84px); line-height: .95; letter-spacing: -.01em; transition: transform .35s cubic-bezier(.2,.7,.2,1), color .25s; }
body.j3-b .j3b-row__meta { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--j3b-muted); text-align: right; max-width: 22ch; }
body.j3-b .j3b-row:hover .j3b-row__title, body.j3-b .j3b-row:focus-visible .j3b-row__title { transform: translateX(18px); color: var(--j3b-soft); }
body.j3-b .j3b-row:focus-visible { outline: 2px solid var(--j3b-soft); outline-offset: 4px; }
@media (max-width: 767px) { body.j3-b .j3b-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; } body.j3-b .j3b-row__meta { text-align: left; max-width: none; } }
body.j3-b .j3b-float { position: fixed; left: 0; top: 0; width: 260px; height: 260px; z-index: 60; pointer-events: none; opacity: 0; visibility: hidden; display: none; }
html.j3b-ready body.j3-b .j3b-float { display: block; }
body.j3-b .j3b-float__box { position: absolute; inset: 0; background: var(--j3b-blue); display: grid; place-items: center; perspective: 900px; }
body.j3-b .j3b-float__box .j3b-cube { --s: 110px; position: relative; left: auto; top: auto; animation-duration: calc(var(--j3b-spin-small, 14s) * .86); }
body.j3-b .j3b-float__box .j3b-face { background: rgba(5, 11, 23, .55); border-color: rgba(255,255,255,.6); }
body.j3-b .j3b-float__label { position: absolute; left: 16px; bottom: 14px; right: 16px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; }

/* ---- Full-screen menu (logo blue). Works without script through :target; the script animates it. ---- */
body.j3-b .j3b-menu-btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--j3b-ink); font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 0; }
body.j3-b .j3b-burger { position: relative; width: 28px; height: 14px; display: inline-block; }
body.j3-b .j3b-burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
body.j3-b .j3b-burger i:first-child { top: 0; } body.j3-b .j3b-burger i:last-child { top: 12px; }
html.j3b-menu-open body.j3-b .j3b-burger i:first-child { top: 6px; transform: rotate(45deg); }
html.j3b-menu-open body.j3-b .j3b-burger i:last-child { top: 6px; transform: rotate(-45deg); }
body.j3-b .j3b-menu { position: fixed; inset: 0; z-index: 1000; background: #154EE8; color: #FFFFFF; visibility: hidden; opacity: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
body.j3-b .j3b-menu:target, html.j3b-menu-open body.j3-b .j3b-menu { visibility: visible; opacity: 1; }
html.j3b-menu-open body.j3-b { overflow: hidden; }
body.j3-b .j3b-menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 18px 40px 32px; box-sizing: border-box; }
body.j3-b .j3b-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
body.j3-b .j3b-menu__brand img { width: 176px; height: auto; display: block; }
body.j3-b .j3b-menu__close { color: #FFFFFF; text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 0; }
body.j3-b .j3b-menu__nav { display: flex; flex-direction: column; justify-content: center; flex: 1; padding: 40px 0; }
body.j3-b .j3b-menu__link { display: block; overflow: hidden; text-decoration: none; color: #FFFFFF; font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(36px, min(8.6vw, 10.5vh), 120px); line-height: .95; padding: .04em 0; width: max-content; max-width: 100%; } /* capped by height too, so seven links fit a landscape phone */
/* The inner span is animated by the script, so it carries no CSS transition (a transition on the same transform would fight GSAP). */
body.j3-b .j3b-menu__link { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
body.j3-b .j3b-menu__link > span { display: inline-block; }
body.j3-b .j3b-menu__link:hover, body.j3-b .j3b-menu__link:focus-visible { transform: translateX(.2em); }
body.j3-b .j3b-menu__link.is-current > span { color: #0A1833; }
body.j3-b .j3b-menu__link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 6px; }
body.j3-b .j3b-menu__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; border-top: 1px solid rgba(255,255,255,.35); padding-top: 22px; }
body.j3-b .j3b-menu__meta a { color: #FFFFFF; text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
body.j3-b .j3b-menu__meta a:hover { text-decoration: underline; }
@media (max-width: 767px) { body.j3-b .j3b-menu__inner { padding: 14px 20px 24px; } body.j3-b .j3b-menu__brand img { width: 132px; } }

/* ---- Giant footer link ---- */
body.j3-b .j3b-talk { display: block; text-decoration: none; color: var(--j3b-ink); overflow: hidden; }
body.j3-b .j3b-talk .j3b-marquee span { color: var(--j3b-ink); }
body.j3-b .j3b-talk:hover .j3b-marquee span { color: var(--j3b-soft); -webkit-text-stroke-color: var(--j3b-soft); }
body.j3-b .j3b-talk:hover .j3b-marquee span:nth-child(even) { color: transparent; }
body.j3-b .j3b-talk:focus-visible { outline: 2px solid var(--j3b-soft); outline-offset: -2px; }

/* ---- Password form (client preview gate) ---- */
body.j3-b .post-password-form { max-width: 520px; margin: 0; }
body.j3-b .post-password-form p { font-family: 'Hanken Grotesk', sans-serif; font-size: 18px; line-height: 1.6; color: var(--j3b-muted); margin: 0 0 20px; }
body.j3-b .post-password-form label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--j3b-ink); }
body.j3-b .post-password-form input[type=password] { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 16px; padding: 14px 16px; font: 17px/1.4 'Hanken Grotesk', sans-serif; color: var(--j3b-ink); background: var(--j3b-surface); border: 1px solid var(--j3b-line); border-radius: 0; }
body.j3-b .post-password-form input[type=password]:focus { outline: 2px solid var(--j3b-soft); outline-offset: 2px; }
body.j3-b .post-password-form input[type=submit] { font: 600 14px/1 'Hanken Grotesk', sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #FFFFFF; background: var(--j3b-blue); border: 0; border-radius: 100px; padding: 18px 30px; cursor: pointer; }
body.j3-b .post-password-form input[type=submit]:hover { background: #1B2F7A; }

/* ---- Page shapes: one wireframe object per page (Services hexagon, About rings, Security layers, Contact pyramid, Team cluster,
   Privacy globe, Anti-slavery octagon), in the same box as the home cubes and driven by the same script. ---- */
/* --s (the object size) lives on the root so every face, cap and ring can derive its own width from it. */
body.j3-b .j3b-shape { position: absolute; right: 4%; top: 6%; width: 44%; aspect-ratio: 1 / 1; max-width: 620px; perspective: 1400px; pointer-events: none; z-index: 1; --stage: min(44vw, 620px); --s: calc(var(--stage) * .52); }
body.j3-b .j3b-shape__group { position: absolute; inset: 0; transform-style: preserve-3d; }
body.j3-b .j3b-shape__spin { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform-style: preserve-3d; animation: j3b-spin-y var(--t, var(--j3b-spin-shape, 32s)) linear infinite; }
@keyframes j3b-spin-y { from { transform: rotateX(-16deg) rotateY(0); } to { transform: rotateX(-16deg) rotateY(360deg); } }
body.j3-b .j3b-shape i, body.j3-b .j3b-fshape i { position: absolute; display: block; box-sizing: border-box; border: 1px solid var(--j3b-line); background: rgba(16, 27, 49, .72); }
body.j3-b .j3b-shape i.j3b-sh--soft, body.j3-b .j3b-fshape i.j3b-sh--soft { border-color: var(--j3b-soft); }
body.j3-b .j3b-shape i.j3b-sh--core, body.j3-b .j3b-fshape i.j3b-sh--core { background: var(--j3b-blue); border-color: var(--j3b-blue); }
body.j3-b .j3b-shape i.j3b-sh--clear, body.j3-b .j3b-fshape i.j3b-sh--clear { background: transparent; }
/* Small shapes inside the hover panel (one per row, swapped in by the script). */
body.j3-b .j3b-float__stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; }
body.j3-b .j3b-fshape { position: relative; width: 150px; height: 150px; display: grid; place-items: center; transform-style: preserve-3d; --stage: 300px; --s: 118px; }
body.j3-b .j3b-fshape.j3b-cluster { --stage: 190px; }
body.j3-b .j3b-fshape .j3b-shape__spin { animation-duration: var(--j3b-spin-small, 14s); }
body.j3-b .j3b-float__box .j3b-fshape i { border-color: rgba(255, 255, 255, .65); background: rgba(5, 11, 23, .4); }
body.j3-b .j3b-float__box .j3b-fshape i.j3b-sh--core { background: #0A1833; border-color: #0A1833; }
body.j3-b .j3b-float__box .j3b-fshape i.j3b-sh--soft { border-color: #FFFFFF; }
body.j3-b .j3b-float__box .j3b-fshape i.j3b-sh--clear { background: transparent; }
body.j3-b .j3b-fshape.j3b-cluster .j3b-cube { --s: 22px; }
/* Prism: side faces around the axis plus two caps clipped to the polygon (6 for Services, 8 for the anti-slavery policy). */
body.j3-b .j3b-prism i.j3b-pr__f { left: 50%; top: 6%; height: 88%; width: var(--w); margin-left: calc(var(--w) / -2); transform: rotateY(var(--a)) translateZ(var(--ap)); }
body.j3-b .j3b-prism i.j3b-pr__cap { left: 0; top: 50%; width: var(--s); height: var(--s); margin-top: calc(var(--s) / -2); clip-path: var(--poly); transform: rotateX(90deg) translateZ(calc(var(--s) * .44)); }
body.j3-b .j3b-prism i.j3b-pr__cap--b { transform: rotateX(90deg) translateZ(calc(var(--s) * -.44)); }
body.j3-b .j3b-prism--6 { --w: calc(var(--s) * .5); --ap: calc(var(--s) * .433); --poly: polygon(100% 50%, 75% 93.3%, 25% 93.3%, 0 50%, 25% 6.7%, 75% 6.7%); }
body.j3-b .j3b-prism--8 { --w: calc(var(--s) * .383); --ap: calc(var(--s) * .462); --poly: polygon(69.1% 3.8%, 30.9% 3.8%, 3.8% 30.9%, 3.8% 69.1%, 30.9% 96.2%, 69.1% 96.2%, 96.2% 69.1%, 96.2% 30.9%); }
/* Rings (About) and globe (Privacy): circles turned in 3D around a small core. */
body.j3-b .j3b-rings i.j3b-ring { left: 0; top: 0; width: var(--s); height: var(--s); border-radius: 50%; background: transparent; transform: rotateY(var(--a, 0deg)) rotateX(var(--b, 0deg)); }
/* Layers (Security): nested square frames at different depths protecting a blue core. */
body.j3-b .j3b-layers i { left: 50%; top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); background: transparent; transform: translateZ(var(--z)); }
body.j3-b .j3b-layers i.j3b-sh--core { background: var(--j3b-blue); }
/* Pyramid (Contact): four triangular faces leaning in over a square base. */
body.j3-b .j3b-pyramid i.j3b-py__f { left: 0; width: var(--s); height: calc(var(--s) * .94); top: calc(var(--s) * -.04); transform-origin: 50% 100%; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotateY(var(--a)) translateZ(calc(var(--s) / 2)) rotateX(32deg); }
body.j3-b .j3b-pyramid i.j3b-py__base { left: 0; top: calc(var(--s) * .4); width: var(--s); height: var(--s); transform: rotateX(90deg); }
/* Cluster (Team): eight small cubes around the centre. */
body.j3-b .j3b-cluster .j3b-cube { --s: calc(var(--stage) * .11); animation: none; left: 50%; top: 50%; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform: translate3d(var(--x), var(--y), var(--z)); }
@media (max-width: 1024px) { body.j3-b .j3b-shape { width: 58%; --stage: 58vw; --s: calc(58vw * .52); right: -4%; top: 2%; opacity: .75; } }
@media (max-width: 767px) { body.j3-b .j3b-shape { width: 86%; --stage: 86vw; --s: calc(86vw * .52); right: -18%; top: -2%; opacity: .5; } }

/* ---- Bored "cube portrait": flat brand tiles on a solid cube, no sheen, no bevel, no gradients, no lighting, so it sits in the
   navy like the other page objects. j3b.js drifts the cube slowly (one turn in 44 s), bobs it and tilts it towards the pointer. ---- */
body.j3-b .j3b-shape--portrait { --s: calc(var(--stage) * .5); }
body.j3-b .j3b-shape--portrait .j3b-shape__spin { animation: none; transform: rotateX(-10deg) rotateY(-28deg); }
body.j3-b .j3b-portrait i.j3b-pf { left: 0; top: 0; width: var(--s); height: var(--s); display: grid; place-items: center; overflow: hidden; border: 0; background: var(--j3b-surface); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
body.j3-b .j3b-portrait i.j3b-pf--1 { transform: translateZ(calc(var(--s) / 2)); background: #154EE8; }
body.j3-b .j3b-portrait i.j3b-pf--2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: #F7F4EE; color: #0A1833; }
body.j3-b .j3b-portrait i.j3b-pf--3 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: #0A1833; }
body.j3-b .j3b-portrait i.j3b-pf--4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: #EFE8DD; color: #0A1833; }
body.j3-b .j3b-portrait i.j3b-pf--top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #050B17; }
body.j3-b .j3b-portrait i.j3b-pf--bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #050B17; }
/* 2026-11-04: no borders or inner frames on the cube faces (they showed as thin blue/white lines around videos). */
body.j3-b .j3b-pf img { width: 60%; height: auto; display: block; }
body.j3-b .j3b-pf svg { width: 58%; height: 58%; display: block; }
body.j3-b .j3b-pf .j3b-pf__big { font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; text-transform: uppercase; font-size: calc(var(--s) * .46); line-height: 1; letter-spacing: -.035em; color: #F7F4EE; }
body.j3-b .j3b-pf .j3b-pf__text { display: block; width: 74%; border-top: 1px solid #154EE8; padding-top: calc(var(--s) * .07); font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: calc(var(--s) * .064); line-height: 1.35; letter-spacing: 0; text-align: left; color: #8EA4FF; }
body.j3-b .j3b-pf .j3b-pf__text strong { display: block; font-weight: 700; font-size: calc(var(--s) * .105); line-height: 1.1; letter-spacing: -.015em; color: #F7F4EE; margin-bottom: calc(var(--s) * .04); }
/* satellites sit low-left and high-right of the cube, clear of the headline */
body.j3-b .j3b-shape--portrait .j3b-cube--b { --k: .16; left: -3%; top: 74%; }
body.j3-b .j3b-shape--portrait .j3b-cube--c { --k: .12; left: 86%; top: 1%; }
@media (max-width: 767px) { body.j3-b .j3b-shape--portrait { opacity: .65; right: -24%; top: -5%; } }
/* ---- Roll-over tiles (partners): each tile is the front of a block that rolls to show its back on hover, focus or tap. ---- */
body.j3-b .j3b-flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { body.j3-b .j3b-flips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { body.j3-b .j3b-flips { grid-template-columns: 1fr; } }
body.j3-b .j3b-flip { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; container-type: inline-size; cursor: default; }
body.j3-b .j3b-flip__cube { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .7, .2, 1); transform: translateZ(-50cqw); }
body.j3-b .j3b-flip:hover .j3b-flip__cube, body.j3-b .j3b-flip.is-flipped .j3b-flip__cube, body.j3-b .j3b-flip:focus-within .j3b-flip__cube { transform: translateZ(-50cqw) rotateX(90deg); }
body.j3-b .j3b-flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 8%; box-sizing: border-box; backface-visibility: hidden; }
body.j3-b .j3b-flip__front { transform: translateZ(50cqw); background: #EFE8DD; color: #0A1833; border: 1px solid #DCD5C8; }
body.j3-b .j3b-flip__back { transform: rotateX(-90deg) translateZ(50cqw); background: #154EE8; color: #FFFFFF; }
body.j3-b .j3b-flip__name { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.3vw, 36px); line-height: 1; }
body.j3-b .j3b-flip__label { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; color: #565E73; }
body.j3-b .j3b-flip__back .j3b-flip__label { color: #E9EDF6; margin: 0 0 10px; }
body.j3-b .j3b-flip__text { font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; line-height: 1.45; color: #FFFFFF; max-width: 24ch; }
body.j3-b .j3b-flip__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- 3D buttons: a block whose underside rolls up on hover with a second label. ---- */
body.j3-b .j3b-btn3d-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
body.j3-b .j3b-btn3d { display: inline-block; position: relative; perspective: 800px; text-decoration: none; --bh: 54px; height: var(--bh); }
body.j3-b .j3b-btn3d__cube { display: block; position: relative; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2, .7, .2, 1); transform: translateZ(calc(var(--bh) / -2)); }
body.j3-b .j3b-btn3d:hover .j3b-btn3d__cube, body.j3-b .j3b-btn3d:focus-visible .j3b-btn3d__cube { transform: translateZ(calc(var(--bh) / -2)) rotateX(90deg); }
body.j3-b .j3b-btn3d__face { display: flex; align-items: center; justify-content: center; height: var(--bh); padding: 0 30px; white-space: nowrap; font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; box-sizing: border-box; backface-visibility: hidden; }
body.j3-b .j3b-btn3d__face--front { transform: translateZ(calc(var(--bh) / 2)); background: #154EE8; color: #FFFFFF; }
body.j3-b .j3b-btn3d__face--back { position: absolute; inset: 0; transform: rotateX(-90deg) translateZ(calc(var(--bh) / 2)); background: #F7F4EE; color: #0A1833; }
body.j3-b .j3b-btn3d--ghost .j3b-btn3d__face--front { background: transparent; color: var(--j3b-ink); box-shadow: inset 0 0 0 1px var(--j3b-muted); }
body.j3-b .j3b-btn3d--ghost .j3b-btn3d__face--back { background: var(--j3b-paper); color: var(--j3b-navy); } /* beige even inside blue blocks, where the ink colour is white */
body.j3-b .j3b-btn3d:focus-visible { outline: 2px solid var(--j3b-soft); outline-offset: 4px; }
@media (max-width: 767px) { body.j3-b .j3b-btn3d { --bh: 48px; } body.j3-b .j3b-btn3d__face { padding: 0 22px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { body.j3-b .j3b-flip__cube, body.j3-b .j3b-btn3d__cube { transition: none !important; } }

/* ---- Smooth scrolling (Lenis): native scroll stays the source of truth, so sticky panels and ScrollTrigger keep working. ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Design A's baseline motion classes (kit CSS) are inert on B pages. */
body.j3-b .j3-reveal, body.j3-b .j3-draw, body.j3-b .j3-rise, body.j3-b .j3-fade { animation: none !important; opacity: 1 !important; transform: none !important; }

/* ---- Reveals: nothing is hidden by CSS; the script animates from an offset when it runs. ---- */
body.j3-b .j3b-up, body.j3-b .j3b-stagger > * { will-change: transform, opacity; }

/* ---- Page transitions between B pages (Chrome, Edge, Safari 18.2+): the new page wipes up over the old. ---- */
@media (prefers-reduced-motion: no-preference) {
  html:has(body.j3-b) { view-transition-name: none; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: j3b-out .45s cubic-bezier(.7, 0, .3, 1) both; }
  ::view-transition-new(root) { animation: j3b-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes j3b-out { to { opacity: .4; transform: translateY(-6%); } }
  @keyframes j3b-in { from { clip-path: inset(100% 0 0 0); transform: translateY(4%); } to { clip-path: inset(0 0 0 0); transform: none; } }
}

/* ---- Object lines (2026-10-07, late): the 404 object, the ring weight and line anti-aliasing. ---- */
/* 404 ('lost'): the team cluster with its blue core cube missing; a dashed outline marks where it was. */
body.j3-b .j3b-shape .j3b-cube--ghost i.j3b-face { background: transparent; border: 1px dashed var(--j3b-soft); box-shadow: none; }
/* The About rings and the privacy globe are drawn with lines alone, so they carry a heavier line than the faceted objects. */
body.j3-b .j3b-shape.j3b-rings i.j3b-ring { border-width: 2px; }
/* Anti-aliasing: a 1px feather in each line's own colour, inside and out, keeps thin lines continuous when a face turns
   edge-on and stops them breaking up as the objects turn. It reads as a smoother line, not a glow. The portrait cube's
   flat brand tiles and the solid blue faces need none. */
body.j3-b .j3b-shape i { box-shadow: 0 0 1px var(--j3b-line), inset 0 0 1px var(--j3b-line); }
body.j3-b .j3b-shape i.j3b-sh--soft, body.j3-b .j3b-shape i.j3b-face--soft { box-shadow: 0 0 1px var(--j3b-soft), inset 0 0 1px var(--j3b-soft); }
body.j3-b .j3b-shape i.j3b-sh--core, body.j3-b .j3b-shape i.j3b-face--core, body.j3-b .j3b-portrait i.j3b-pf { box-shadow: none; }

/* Contact pyramid: its faces are triangles clipped from rectangles, so the slanted edges had no line at all and the object
   all but vanished into the navy. The edges are drawn as gradient lines that start exactly at the clip (so the two faces sharing
   an edge meet in one line) and fade inwards, in each face's line colour (accent-soft on the soft face, white in the hover
   panel); the base, a line-only square seen almost edge-on, gets 2px. */
body.j3-b .j3b-pyramid i.j3b-py__f { --edge: var(--j3b-line); background-image: linear-gradient(to bottom right, transparent 50%, var(--edge) 50%, var(--edge) calc(50% + 1.1px), transparent calc(50% + 1.9px)), linear-gradient(to bottom left, transparent 50%, var(--edge) 50%, var(--edge) calc(50% + 1.1px), transparent calc(50% + 1.9px)); background-size: 50% 100%; background-position: left top, right top; background-repeat: no-repeat; background-origin: border-box; }
body.j3-b .j3b-pyramid i.j3b-py__f.j3b-sh--soft { --edge: var(--j3b-soft); }
body.j3-b .j3b-float__box .j3b-pyramid i.j3b-py__f { --edge: rgba(255, 255, 255, .65); }
body.j3-b .j3b-float__box .j3b-pyramid i.j3b-py__f.j3b-sh--soft { --edge: #FFFFFF; }
body.j3-b .j3b-shape.j3b-pyramid i.j3b-py__base { border-width: 2px; }
/* Very wide screens: past 2000px each object keeps the place it has beside the 1320px content column at 2000px (where the
   home stage was tuned) instead of drifting out towards the screen edge. At 2000px both rules give the same 80px. */
@media (min-width: 2001px) { body.j3-b .j3b-shape { right: calc((100% - 1320px) / 2 - 260px); } }

/* Drawn rings: j3b.js strokes the About rings and the privacy globe on a canvas every frame (smooth at any angle, even
   edge-on); the CSS rings and core underneath are hidden then, and stay the fallback without the script. */
body.j3-b .j3b-rings__canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
body.j3-b .j3b-rings--drawn .j3b-shape__spin { animation: none; }
body.j3-b .j3b-rings--drawn .j3b-shape__spin > i { visibility: hidden; }

/* ---- Reduced motion and print: everything still, nothing hidden ---- */
@media (prefers-reduced-motion: reduce) {
  body.j3-b .j3b-cube, body.j3-b .j3b-shape__spin, body.j3-b .j3b-marquee__track { animation: none !important; }
  body.j3-b .j3b-marquee__track { transform: none !important; }
  body.j3-b .j3b-menu, body.j3-b .j3b-row__title, body.j3-b .j3b-menu__link > span { transition: none !important; }
}
@media print { body.j3-b .j3b-cubes, body.j3-b .j3b-float, body.j3-b .j3b-menu { display: none !important; } body.j3-b .j3b-marquee__track { animation: none !important; } }

/* ---- Static tiles (certification and partners): everything on the front, nothing to flip. The certification leads at double width. ---- */
body.j3-b .j3b-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } /* 2026-10-15: four columns, so the two double-width lead tiles (Cyber Essentials, Crown Commercial Service) and the four partners make two even rows */
body.j3-b .j3b-tile { position: relative; display: flex; flex-direction: column; padding: 28px 24px; min-height: 240px; background: #EFE8DD; color: #0A1833; border: 1px solid #DCD5C8; box-sizing: border-box; transition: transform 240ms cubic-bezier(.23, 1, .32, 1), border-color 240ms ease, box-shadow 240ms ease; }
body.j3-b .j3b-tile--lead { grid-column: span 2; }
/* Logo slot: the mark sits on a white panel so every partner's own colours stay true. Grey and quiet at rest, full colour on hover. */
body.j3-b .j3b-tile__logo { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 220px; height: 112px; padding: 12px 18px; margin-bottom: 22px; background: #FFFFFF; border: 1px solid #DCD5C8; box-sizing: border-box; }
body.j3-b .j3b-tile.is-hot .j3b-tile__logo { border-color: rgba(255, 255, 255, .35); }
body.j3-b .j3b-tile__logo img, body.j3-b .j3b-tile__logo svg { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter 260ms ease, opacity 260ms ease, transform 260ms cubic-bezier(.23, 1, .32, 1); }
body.j3-b .j3b-tile__name { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
body.j3-b .j3b-tile__label { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; color: #565E73; }
body.j3-b .j3b-tile__text { font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; line-height: 1.45; margin-top: auto; padding-top: 18px; max-width: 32ch; }
/* Hover (mouse only): a logo-blue panel wipes up behind the tile, the type inverts, the name steps right, and the tile lifts.
   This is the design B row hover brought to the tiles, standing in for the old roll-over until the logos arrive. */
body.j3-b .j3b-tile { isolation: isolate; overflow: hidden; }
body.j3-b .j3b-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #154EE8; transform: scaleY(0); transform-origin: center bottom; transition: transform 320ms cubic-bezier(.65, 0, .35, 1); }
/* The blue lives on one tile at a time: at rest the lead tile (is-hot in the markup), on hover whichever tile the pointer is in. */
body.j3-b .j3b-tile.is-hot { border-color: #154EE8; }
body.j3-b .j3b-tile.is-hot .j3b-tile__name, body.j3-b .j3b-tile.is-hot .j3b-tile__text { color: #FFFFFF; }
body.j3-b .j3b-tile.is-hot .j3b-tile__label { color: #E9EDF6; }
/* Direction-aware wipe: j3b.js sets data-dir to the side the pointer came in from (and, on leave, the side it left by),
   so the panel grows in from that edge and shrinks back out the way the cursor went. */
body.j3-b .j3b-tile[data-dir="top"]::before { transform: scaleY(0); transform-origin: center top; }
body.j3-b .j3b-tile[data-dir="bottom"]::before { transform: scaleY(0); transform-origin: center bottom; }
body.j3-b .j3b-tile[data-dir="left"]::before { transform: scaleX(0); transform-origin: left center; }
body.j3-b .j3b-tile[data-dir="right"]::before { transform: scaleX(0); transform-origin: right center; }
body.j3-b .j3b-tile.is-hot::before { transform: none !important; }
body.j3-b .j3b-tile__name, body.j3-b .j3b-tile__label, body.j3-b .j3b-tile__text { transition: color 240ms ease, transform 320ms cubic-bezier(.23, 1, .32, 1); }
@media (hover: hover) and (pointer: fine) {
  body.j3-b .j3b-tile:hover { transform: translateY(-4px); border-color: #154EE8; box-shadow: 0 18px 32px -20px rgba(10, 24, 51, .4); }
  html:not(.j3b-ready) body.j3-b .j3b-tile:hover::before { transform: scaleY(1); transform-origin: center top; }
  html:not(.j3b-ready) body.j3-b .j3b-tile:hover .j3b-tile__name, html:not(.j3b-ready) body.j3-b .j3b-tile:hover .j3b-tile__text { color: #FFFFFF; }
  html:not(.j3b-ready) body.j3-b .j3b-tile:hover .j3b-tile__label { color: #E9EDF6; }
  body.j3-b .j3b-tile:hover .j3b-tile__name { transform: translateX(10px); }
  body.j3-b .j3b-tile:hover .j3b-tile__logo img, body.j3-b .j3b-tile:hover .j3b-tile__logo svg { filter: none; opacity: 1; transform: scale(1.04); }
}
/* Touch screens have no hover, so marks (when present) show in colour from the start. */
@media (hover: none) { body.j3-b .j3b-tile__logo img, body.j3-b .j3b-tile__logo svg { filter: none; opacity: 1; } }
/* 2026-11-04: the partner marks are in. Their colour travels with the blue: the tile holding it (is-hot: the lead tile at rest,
   then whichever tile the pointer is in) shows its mark in full colour while the rest stay grey. */
body.j3-b .j3b-tile.is-hot .j3b-tile__logo img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body.j3-b .j3b-tile, body.j3-b .j3b-tile::before, body.j3-b .j3b-tile__name, body.j3-b .j3b-tile__label, body.j3-b .j3b-tile__text, body.j3-b .j3b-tile__logo img, body.j3-b .j3b-tile__logo svg { transition: color 200ms ease, filter 200ms ease, opacity 200ms ease; }
  body.j3-b .j3b-tile:hover, body.j3-b .j3b-tile:hover .j3b-tile__name, body.j3-b .j3b-tile:hover .j3b-tile__logo img, body.j3-b .j3b-tile:hover .j3b-tile__logo svg { transform: none; }
  body.j3-b .j3b-tile::before { transition: none; }
}
@media (max-width: 1024px) { body.j3-b .j3b-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { body.j3-b .j3b-tiles { grid-template-columns: 1fr; } body.j3-b .j3b-tile { min-height: 0; } body.j3-b .j3b-tile--lead { grid-column: auto; } body.j3-b .j3b-tile__logo { height: 96px; } }

/* ---- Sticky slim header (2026-10-15): the bar stays at the top of every page; once the visitor has scrolled a little (html.j3b-scrolled,
   set by j3b.js) it slims down. The phone number and the Contact us button always show; on phones the number becomes its icon. ---- */
/* The bar is fixed, not sticky, so slimming it never moves the page or the scroll triggers measured at load. The body carries a
   spacer the size of the bar at rest (--j3b-hdr) and anchors land below the slim bar (--j3b-hdr-slim); j3b.js measures both,
   these are the fallbacks. --j3b-vw (j3b.js) is the viewport width without the scrollbar, for the gallery bleed. */
html { --j3b-hdr: 86px; --j3b-hdr-slim: 62px; }
@media (max-width: 1024px) { html { --j3b-hdr: 82px; } }
@media (max-width: 767px) { html { --j3b-hdr: 67px; --j3b-hdr-slim: 57px; } }
html:has(body.j3-b) { scroll-padding-top: var(--j3b-hdr-slim); }
body.j3-b { padding-top: var(--j3b-hdr); }
body.j3-b .elementor-location-header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; }
body.j3-b.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { body.j3-b.admin-bar .elementor-location-header { top: 46px; } }
html.j3b-measure body.j3-b .elementor-location-header, html.j3b-measure body.j3-b .elementor-location-header * { transition: none !important; }
body.j3-b .elementor-location-header > .e-con:first-child { background: rgba(10, 24, 51, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: padding .3s ease; }
html.j3b-scrolled body.j3-b .elementor-location-header > .e-con:first-child { --padding-top: 10px; --padding-bottom: 10px; }
html body.j3-b .elementor-location-header .j3-logo img { transition: width .3s ease; }
/* Narrow phones (320 to 400px): a tighter gap and a smaller logo, so the phone icon, the button and the burger never meet. */
body.j3-b .elementor-location-header > .e-con:first-child .elementor-widget { flex: 0 0 auto; width: auto; max-width: none; } /* never shrink a widget under its content (Elementor sets min-width: 0) */
@media (max-width: 400px) {
  body.j3-b .elementor-location-header > .e-con:first-child { --column-gap: 8px; --row-gap: 8px; --padding-left: 16px; --padding-right: 16px; } /* Elementor's inner box reads --column-gap */
  html body.j3-b .elementor-location-header .elementor-widget .j3-logo img, html.j3b-scrolled body.j3-b .elementor-location-header .elementor-widget .j3-logo img { width: 100px; }
  body.j3-b .j3b-hdr-actions { gap: 8px; }
  body.j3-b .j3b-hdr-tel { padding: 6px; margin: -6px; }
  body.j3-b .j3b-btn3d--sm .j3b-btn3d__face { padding: 0 8px; font-size: 10.5px; }
}
html.j3b-scrolled body.j3-b .elementor-location-header .elementor-widget .j3-logo img { width: 140px; }
body.j3-b .j3b-hdr-actions { display: flex; align-items: center; gap: 24px; line-height: 1; }
body.j3-b .j3b-hdr-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--j3b-ink); text-decoration: none; font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
body.j3-b .j3b-hdr-tel:hover, body.j3-b .j3b-hdr-tel:focus-visible { color: var(--j3b-soft); }
body.j3-b .j3b-hdr-tel:focus-visible { outline: 2px solid var(--j3b-soft); outline-offset: 4px; }
body.j3-b .j3b-hdr-tel svg { width: 16px; height: 16px; display: block; flex: none; }
body.j3-b .j3b-btn3d--sm { --bh: 40px; }
body.j3-b .j3b-btn3d--sm .j3b-btn3d__face { padding: 0 18px; font-size: 12px; }
@media (max-width: 767px) {
  body.j3-b .j3b-hdr-actions { gap: 14px; }
  body.j3-b .j3b-hdr-tel { padding: 8px; margin: -8px; }
  body.j3-b .j3b-hdr-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.j3-b .j3b-hdr-tel svg { width: 22px; height: 22px; }
  body.j3-b .j3b-menu-btn > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.j3-b .j3b-btn3d--sm { --bh: 36px; }
  body.j3-b .j3b-btn3d--sm .j3b-btn3d__face { padding: 0 14px; font-size: 11px; }
  html.j3b-scrolled body.j3-b .elementor-location-header .elementor-widget .j3-logo img { width: 112px; }
}
@media (prefers-reduced-motion: reduce) { body.j3-b .elementor-location-header > .e-con:first-child, body.j3-b .elementor-location-header .j3-logo img { transition: none; } }

/* ---- Video face on the portrait cube (2026-10-15): drop <video class="j3b-pf__video" autoplay muted loop playsinline poster="..."> inside any
   face (the back face, j3b-pf--3, is the natural one). Square, short, silent, under about 2 MB. Not used until the file arrives. ---- */
body.j3-b .j3b-pf .j3b-pf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { body.j3-b .j3b-pf .j3b-pf__video { display: none; } }

/* ---- Motion settings (2026-10-16): Settings > j3llyh34d site > Motion prints --j3b-spin-cube, --j3b-spin-shape, --j3b-spin-small and
   --j3b-marquee-t on the body (the durations above fall back to the designed values without them), and j3b.js marks the areas listed
   there: data-j3b-motion="off" keeps everything inside still, data-j3b-speed scales the inherited durations. The home cube's faces
   come from the [j3b_cube] shortcode (Settings > j3llyh34d site > Cube): words on a light tile carry j3b-pf--light so they stay navy,
   and --fit sizes an image on a tile. ---- */
body.j3-b [data-j3b-motion="off"] .j3b-cube, body.j3-b [data-j3b-motion="off"] .j3b-shape__spin, body.j3-b [data-j3b-motion="off"] .j3b-marquee__track { animation: none !important; }
/* Motion off (the master switch on the Motion tab; j3b.js sets html.j3b-off): the CSS spins and bands stop as well, as under reduced motion */
html.j3b-off body.j3-b .j3b-cube, html.j3b-off body.j3-b .j3b-shape__spin, html.j3b-off body.j3-b .j3b-marquee__track { animation: none !important; }
html.j3b-off body.j3-b .j3b-marquee__track { transform: none !important; }
body.j3-b .j3b-pf.j3b-pf--light .j3b-pf__big, body.j3-b .j3b-pf.j3b-pf--light .j3b-pf__text strong { color: #0A1833; }
body.j3-b .j3b-pf.j3b-pf--light .j3b-pf__text { color: #565E73; }
body.j3-b .j3b-pf img { width: var(--fit, 60%); }
body.j3-b .j3b-pf svg { width: var(--fit, 58%); height: var(--fit, 58%); }
@media (prefers-reduced-motion: reduce) { body.j3-b .j3b-pf .j3b-pf__anim { display: none; } } /* an animated GIF on a face, like the video face */

/* ---- Case studies (2026-10-16): the j3_case single template and the Projects page. Markup comes from the [j3_case] shortcode. ---- */
/* Opener: the sector object sits where every page object sits; the lead keeps the 30ch measure. */
body.j3-b .j3b-case__lead { font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 30ch; margin: 0; color: var(--j3b-muted); }
/* Facts: a hairline definition list in four columns; the mono term above a plain value. */
body.j3-b .j3b-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 0; border-top: 1px solid var(--j3b-line); border-bottom: 1px solid var(--j3b-line); }
body.j3-b .j3b-facts__item { padding: 20px 0 22px; }
body.j3-b .j3b-facts__item + .j3b-facts__item { border-left: 1px solid var(--j3b-line); padding-left: 28px; }
body.j3-b .j3b-facts dt { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--j3b-muted); margin: 0 0 8px; }
body.j3-b .j3b-facts dd { font-family: 'Hanken Grotesk', sans-serif; font-size: 17px; line-height: 1.45; margin: 0; color: var(--j3b-ink); max-width: 26ch; }
body.j3-b .j3b-facts__note { font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; line-height: 1.5; color: var(--j3b-muted); margin: 14px 0 0; max-width: 60ch; }
@media (max-width: 1024px) { body.j3-b .j3b-facts { grid-template-columns: repeat(2, 1fr); } body.j3-b .j3b-facts__item:nth-child(odd) { border-left: 0; padding-left: 0; } body.j3-b .j3b-facts__item:nth-child(n+3) { border-top: 1px solid var(--j3b-line); } }
@media (max-width: 560px) { body.j3-b .j3b-facts { grid-template-columns: 1fr; } body.j3-b .j3b-facts__item { border-left: 0 !important; padding-left: 0 !important; } body.j3-b .j3b-facts__item + .j3b-facts__item { border-top: 1px solid var(--j3b-line); } }
/* Story: the post content at a reading measure. */
body.j3-b .j3b-case__story p { font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 60ch; margin: 0 0 1.2em; }
body.j3-b .j3b-case__story p:last-child { margin-bottom: 0; }
body.j3-b .j3b-case__story h2, body.j3-b .j3b-case__story h3 { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -.01em; margin: 1.6em 0 .5em; max-width: 20ch; }
body.j3-b .j3b-case__story h2:first-child, body.j3-b .j3b-case__story h3:first-child { margin-top: 0; }
/* Gallery: four images on a 12-column grid; the first bleeds to the left edge of the screen, the second sits lower and
   smaller, the third is offset, the fourth closes the row. One column on phones, no bleed. Captions in one plain line. */
body.j3-b .j3b-clip { overflow-x: clip; }
body.j3-b .j3b-gal { --j3b-pad: 40px; --bleed: max(var(--j3b-pad), calc((var(--j3b-vw, 100vw) - 1320px) / 2)); display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; align-items: start; }
body.j3-b .j3b-gal__item { margin: 0; }
body.j3-b .j3b-gal__item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--j3b-surface); border: 1px solid var(--j3b-line); }
body.j3-b .j3b-gal__item figcaption { font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; line-height: 1.5; color: var(--j3b-muted); margin-top: 10px; }
body.j3-b .j3b-gal__item--1 { grid-column: 1 / span 8; }
body.j3-b .elementor .elementor-widget figure.j3b-gal__item--1 { margin-left: calc(-1 * var(--bleed)); } /* outranks Elementor's figure reset */
body.j3-b .j3b-gal__item--1 img { aspect-ratio: 4 / 3; border-left: 0; }
body.j3-b .elementor .elementor-widget figure.j3b-gal__item--2 { grid-column: 9 / span 4; margin-top: 22%; }
body.j3-b .j3b-gal__item--2 img { aspect-ratio: 1 / 1; }
body.j3-b .j3b-gal__item--3 { grid-column: 3 / span 4; }
body.j3-b .j3b-gal__item--4 { grid-column: 7 / span 6; }
body.j3-b .j3b-gal__item--1 figcaption { padding-left: var(--bleed); }
body.j3-b .j3b-gal__item--6 figcaption { padding-right: var(--bleed); }
@media (max-width: 1024px) { body.j3-b .j3b-gal { --j3b-pad: 32px; } }
body.j3-b .j3b-gal__item--5 { grid-column: 1 / span 5; }
body.j3-b .j3b-gal__item--6 { grid-column: 6 / span 7; }
body.j3-b .elementor .elementor-widget figure.j3b-gal__item--6 { margin-right: calc(-1 * var(--bleed)); }
body.j3-b .j3b-gal__item--6 img { aspect-ratio: 16 / 9; border-right: 0; }
body.j3-b .j3b-paper .j3b-gal__item img, body.j3-b .j3b-paper-2 .j3b-gal__item img { background: var(--j3b-paper-2); }
@media (max-width: 767px) { body.j3-b .j3b-gal { grid-template-columns: 1fr; gap: 24px; } body.j3-b .j3b-gal__item { grid-column: auto !important; margin: 0 !important; } body.j3-b .j3b-gal__item figcaption { padding: 0 !important; } body.j3-b .j3b-gal__item img { aspect-ratio: 3 / 2 !important; border: 1px solid var(--j3b-line) !important; } }
/* Outcomes: the hairline list from the service panels, as plain statements. */
body.j3-b .j3b-outcomes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--j3b-line); max-width: 60ch; }
body.j3-b .j3b-outcomes li { font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; padding: 20px 0; border-bottom: 1px solid var(--j3b-line); color: var(--j3b-ink); }
/* Case rows: the sector in the mono column, a little tighter than the Home rows. */
body.j3-b .j3b-rows--cases .j3b-row__title { font-size: clamp(28px, 4.2vw, 68px); }

/* ---- Team cards (2026-11-04): the LinkedIn mark beside each name, from [j3_linkedin] in loop item 66. It links to the member profile
   in a new tab and is left out when no profile is saved. A 32px target around a 20px mark in the card text colour (light on the navy Team page), soft blue and a small
   lift on hover or keyboard focus. ---- */
body.j3-b .j3b-in { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: -3px -6px -9px 0; color: inherit; border-radius: 2px; transition: color 200ms ease, transform 240ms cubic-bezier(.23, 1, .32, 1); }
body.j3-b .j3b-in svg { display: block; width: 20px; height: 20px; }
body.j3-b .j3b-in:hover, body.j3-b .j3b-in:focus-visible { color: #8EA4FF; transform: translateY(-2px); }
body.j3-b .j3b-in:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { body.j3-b .j3b-in { transition: color 200ms ease; } body.j3-b .j3b-in:hover, body.j3-b .j3b-in:focus-visible { transform: none; } }

/* ---- Partner tiles, logos instead of names (2026-11-04). On the logo grid (.j3b-tiles--logos) the marks sit straight on the tile,
   left-aligned and with no panel, and stand in for the tile names. Each name stays in the markup for screen readers and comes back
   on screen if its logo fails to load (j3b.js adds is-nologo); without scripts the name simply shows under the logo. The travelling
   panel on this grid is white rather than blue, so every mark keeps its own colours: grey at rest, full colour on the tile that
   holds the panel (the lead tile at rest, then the tile under the pointer), with the blue kept for the border and the label. ---- */
body.j3-b .j3b-tiles--logos .j3b-tile__logo { justify-content: flex-start; max-width: 220px; height: 100px; padding: 0; margin-bottom: 6px; background: none; border: 0; }
/* Every mark sits on the bottom of its slot, so the gap from logo to label is the same on every tile and the labels still line up. */
body.j3-b .j3b-tiles--logos .j3b-tile__logo { align-items: flex-end; }
body.j3-b .j3b-tiles--logos .j3b-tile__logo img { object-position: left bottom; transform-origin: left bottom; }
html.j3-js body.j3-b .j3b-tiles--logos .j3b-tile:not(.is-nologo) .j3b-tile__name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
body.j3-b .j3b-tiles--logos .j3b-tile.is-nologo .j3b-tile__logo { display: none; }
body.j3-b .j3b-tiles--logos .j3b-tile::before { background: #FFFFFF; }
html body.j3-b .j3b-tiles--logos .j3b-tile.is-hot .j3b-tile__name, html body.j3-b .j3b-tiles--logos .j3b-tile.is-hot .j3b-tile__text,
html body.j3-b .j3b-tiles--logos .j3b-tile:hover .j3b-tile__name, html body.j3-b .j3b-tiles--logos .j3b-tile:hover .j3b-tile__text { color: #0A1833; }
html body.j3-b .j3b-tiles--logos .j3b-tile.is-hot .j3b-tile__label, html body.j3-b .j3b-tiles--logos .j3b-tile:hover .j3b-tile__label { color: #154EE8; }
/* The description starts straight under the label at the same height on every tile; a short one leaves its space at the bottom. */
body.j3-b .j3b-tiles--logos .j3b-tile__text { margin-top: 0; }
@media (max-width: 640px) { body.j3-b .j3b-tiles--logos .j3b-tile__logo { height: 84px; } }
