/* ===== v14 (2026-11-30): loader, logo, one CTA style, calm theme switch ===== */

/* ---------- logo: a drawn monoline JR with an accent dot ---------- */
.brand .jr-l{display:inline-block;line-height:0}
.brand .jr-l svg{display:block;height:.86em;width:auto;overflow:visible}
.brand .jr-l path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.brand .jr-l .jr-dot{fill:var(--lime);stroke:none}
.brand .jr-l--j{margin-right:0}
.brand .jr-l + .jr-l{margin-inline-start:0!important}

/* ---------- loader: black screen, the logo is drawn in the accent colour, turns white, flies to the header ---------- */
.site-loader:not(.jr-ld){display:none!important}
.jr-ld{position:fixed;inset:0;z-index:2147482000;pointer-events:none;animation:jr-ld-bail .01s 8s forwards}
.jr-ld-bg{position:absolute;inset:0;background:#050505;transition:transform .85s cubic-bezier(.76,0,.24,1)}
.jr-ld-mark{position:absolute;left:50%;top:50%;width:min(46vw,300px);height:auto;translate:-50% -50%;overflow:visible;transform-origin:0 0;transition:transform .85s cubic-bezier(.76,0,.24,1),opacity .35s ease}
.jr-ld-mark path{fill:none;stroke:var(--lime);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;visibility:hidden}
.jr-ld-mark .jr-dot{fill:var(--lime);transform-box:fill-box;transform-origin:center;scale:0}
.jr-ld.is-full .jr-p1{animation:jr-draw .62s cubic-bezier(.65,0,.35,1) .15s forwards,jr-ink .45s ease 1.5s forwards}
.jr-ld.is-full .jr-p2{animation:jr-draw .7s cubic-bezier(.65,0,.35,1) .62s forwards,jr-ink .45s ease 1.5s forwards}
.jr-ld.is-full .jr-p3{animation:jr-draw .32s cubic-bezier(.65,0,.35,1) 1.18s forwards,jr-ink .45s ease 1.5s forwards}
.jr-ld.is-full .jr-dot{animation:jr-pop .5s cubic-bezier(.34,1.56,.64,1) 1.36s forwards}
.jr-ld.is-quick .jr-ld-mark path{animation:jr-draw .34s cubic-bezier(.65,0,.35,1) .02s forwards,jr-ink .25s ease .3s forwards}
.jr-ld.is-quick .jr-dot{animation:jr-pop .3s cubic-bezier(.34,1.56,.64,1) .22s forwards}
.jr-ld.is-out .jr-ld-bg{transform:translateY(-100%)}
.jr-ld.is-out.is-lost .jr-ld-mark{opacity:0}
body:has(.jr-ld) .site-header .brand{opacity:0}
@keyframes jr-draw{from{visibility:visible;stroke-dashoffset:1}to{visibility:visible;stroke-dashoffset:0}}
@keyframes jr-ink{to{stroke:#f3f1ea;stroke-width:3}}
@keyframes jr-pop{to{scale:1}}
@keyframes jr-ld-bail{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){.jr-ld{display:none!important}}
html.reduce-motion .jr-ld{display:none!important}

/* ---------- one CTA style for the whole site (the About page's two buttons) ----------
   Primary: accent fill, dark text; a light fill sweeps in from the side the pointer enters.
   Secondary: outline, light text; an accent fill sweeps in, text turns dark. */
html body:not(#jr) :is(a,button).jr-cta{position:relative;overflow:hidden;isolation:isolate;box-shadow:none!important;filter:none!important;transition:color .35s cubic-bezier(.22,1,.36,1),border-color .35s cubic-bezier(.22,1,.36,1)!important}
html body:not(#jr) :is(a,button).jr-cta--primary{background:var(--lime)!important;color:#0a0a0a!important;border:1px solid transparent!important}
html body:not(#jr) :is(a,button).jr-cta--secondary{background:transparent!important;color:#f3f1ea!important;border:1px solid rgba(255,255,255,.36)!important}
html body:not(#jr) :is(a,button).jr-cta.button::before{display:none!important}
html body:not(#jr) :is(a,button).jr-cta > :is(.rex-sweep,.av-sweep,.wv-sweep){position:absolute;inset:-2px;z-index:-1;border-radius:inherit;pointer-events:none;transition:transform .55s cubic-bezier(.22,1,.36,1)}
html body:not(#jr) :is(a,button).jr-cta--primary > :is(.rex-sweep,.av-sweep,.wv-sweep){background:#f3f1ea!important}
html body:not(#jr) :is(a,button).jr-cta--secondary > :is(.rex-sweep,.av-sweep,.wv-sweep){background:var(--lime)!important}
html body:not(#jr) :is(a,button).jr-cta.is-swept{color:#0a0a0a!important;border-color:transparent!important}
html body:not(#jr) :is(a,button).jr-cta :is(span,b,strong,em,small):not(.jr-ic):not(.jr-ic *):not(.rex-sweep):not(.av-sweep):not(.wv-sweep){color:inherit!important}
html body:not(#jr) :is(a,button).jr-cta > svg:not(.jr-ic){color:inherit!important}
/* the round arrow inside a button */
html body:not(#jr) :is(a,button).jr-cta--primary .jr-ic{background:#0a0a0a!important;color:var(--lime)!important}
html body:not(#jr) :is(a,button).jr-cta--secondary .jr-ic{background:var(--lime)!important;color:#0a0a0a!important}
html body:not(#jr) :is(a,button).jr-cta--secondary.is-swept .jr-ic{background:#0a0a0a!important;color:var(--lime)!important}
html body:not(#jr) :is(a,button).jr-cta .jr-ic *{color:inherit!important}

/* ---------- theme switch: a soft dip through near-black instead of a bright accent flash ---------- */
html body .infinity-flash{background:radial-gradient(ellipse at center,rgba(5,5,5,.72),#050505 72%)!important;animation:jr-mode-dip .7s cubic-bezier(.45,0,.55,1) both!important}
@keyframes jr-mode-dip{0%{opacity:0}38%{opacity:.9}100%{opacity:0}}
html body .infinity-toast{border-color:rgba(243,241,234,.18)!important;background:#0c0c0c!important;color:#f3f1ea!important}

/* ---------- Aura easter egg: soft dip through near-black with a small label ---------- */
.jr-mode-fx{position:fixed;inset:0;z-index:2147481000;display:grid;place-items:center;background:radial-gradient(ellipse at center,rgba(12,12,12,.9),#050505 70%);pointer-events:none;opacity:0}
.jr-mode-fx b{font:500 clamp(20px,2.4vw,28px)/1 Switzer,system-ui,sans-serif;letter-spacing:-.02em;color:rgba(243,241,234,.86)}
/* the logo is a plain link now: no hold ring, bar or callout */
.site-header .brand :is(.rex-aura-tip,.rex-aura-bar,.rex-aura-ring){display:none!important}
.site-header .brand.has-tip{animation:none!important}

/* ---------- menu: Meet Pixel, with the role underneath ---------- */
.menu-dialog nav .menu-advisor-link.jr-meet{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:6px!important}
.menu-dialog nav .menu-advisor-link.jr-meet .advisor-star{display:none!important}
.jr-meet-sub{display:block;font:500 16px/1.25 Switzer,system-ui,sans-serif;letter-spacing:0;color:rgba(243,241,234,.6);text-transform:none}
.menu-dialog nav .menu-advisor-link.jr-meet:is(:hover,:focus-visible) .jr-meet-sub{color:var(--lime)}

/* ---------- logo: no glitch ---------- */
:is(.rex-logo,.site-footer .signature).is-glitch,:is(.rex-logo,.site-footer .signature).is-glitch *{animation:none!important}

/* ---------- cursor over anything clickable (links, buttons, menu, Pixel open/close, send, chips) ----------
   A small thin ring that inverts what is under it: white over dark, dark over the accent. It has no fill,
   so it never hides the button, icon or label underneath, whatever its colour. */
html body .rex-cursor.is-link{mix-blend-mode:difference}
html body .rex-cursor.is-link .rex-cursor-dot,html.v10-cursor-dark body .rex-cursor.is-link .rex-cursor-dot{width:30px!important;height:30px!important;background:transparent!important;box-shadow:inset 0 0 0 1.5px #fff!important;mix-blend-mode:normal!important}
html body .rex-cursor.is-link.is-down .rex-cursor-dot{width:24px!important;height:24px!important}

/* ===== Pixel wordmark (2026-11-30): lowercase "pixel", rounded monoline, the i dot is an accent pixel ===== */
.px-mark{display:inline-block;overflow:visible}
.px-mark path{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.px-mark .px-dot{fill:var(--lime);stroke:none}
/* baseline sits at 18 of 24, so the mark drops by a quarter of its height to sit on the text baseline */
.px-inline{height:1.2em;width:auto;vertical-align:-.3em}
.px-word{height:.96em;width:auto;vertical-align:-.24em;margin-inline:.02em}
.px-word path{stroke-width:2.9}
/* menu: "Meet" + wordmark, role underneath */
.menu-dialog nav .menu-advisor-link.jr-meet .jr-meet-row{display:inline-flex;align-items:baseline;gap:.28em}
.menu-dialog nav .menu-advisor-link.jr-meet .px-inline{height:1.14em;vertical-align:baseline;translate:0 .27em}
.menu-dialog nav .menu-advisor-link.jr-meet:is(:hover,:focus-visible) .px-mark path{stroke:var(--lime)}
/* footer: the Pixel link is the wordmark */
.site-footer .px-foot{display:inline-flex;align-items:center;line-height:1}
.site-footer .px-foot .px-inline{height:1.25em;vertical-align:middle}
.site-footer .px-foot:is(:hover,:focus-visible) .px-mark path{stroke:var(--lime)}

/* ===== Pixel pages loader: the pixel lands, "pixel" is written out, the screen breaks into pixels ===== */
.jr-ld--px .jr-px-grid{position:absolute;inset:0;background:#050505}
.jr-ld--px .jr-px-grid.is-cells{background:transparent;display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr)}
.jr-ld--px .jr-px-grid i{display:block;background:#050505;margin:-.5px}
.jr-ld--px .jr-px-mark{position:absolute;left:50%;top:50%;width:min(52vw,360px);height:auto;translate:-50% -50%;overflow:visible;transition:transform .5s cubic-bezier(.76,0,.24,1),opacity .35s ease}
.jr-ld--px .jr-px-mark path{stroke:var(--lime);stroke-width:2.2;stroke-dasharray:1;stroke-dashoffset:1;visibility:hidden}
.jr-ld--px .jr-px-mark .px-dot{transform-box:fill-box;transform-origin:center;scale:0}
.jr-ld--px.is-full .px-dot{animation:jr-px-land .6s cubic-bezier(.34,1.56,.64,1) .12s forwards}
.jr-ld--px.is-full .px-p1{animation:jr-draw .36s cubic-bezier(.65,0,.35,1) .62s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-full .px-p2{animation:jr-draw .42s cubic-bezier(.65,0,.35,1) .7s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-full .px-i{animation:jr-draw .26s cubic-bezier(.65,0,.35,1) .86s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-full .px-x{animation:jr-draw .34s cubic-bezier(.65,0,.35,1) .96s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-full .px-e{animation:jr-draw .42s cubic-bezier(.65,0,.35,1) 1.08s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-full .px-l{animation:jr-draw .3s cubic-bezier(.65,0,.35,1) 1.22s forwards,jr-px-ink .4s ease 1.45s forwards}
.jr-ld--px.is-quick .px-dot{animation:jr-px-land .32s cubic-bezier(.34,1.56,.64,1) .02s forwards}
.jr-ld--px.is-quick .jr-px-mark path{animation:jr-draw .34s cubic-bezier(.65,0,.35,1) .14s forwards,jr-px-ink .2s ease .44s forwards}
.jr-ld--px.is-out .jr-px-mark{opacity:0;transform:scale(.92)}
@keyframes jr-px-land{0%{scale:0;rotate:-90deg}70%{scale:1.35;rotate:0deg}100%{scale:1;rotate:0deg}}
@keyframes jr-px-ink{to{stroke:#f3f1ea;stroke-width:2.6}}

/* Pixel pages: the Pixel wordmark is the header logo, with a Home link beside it. */
.brand.px-brand{display:inline-flex;align-items:center}
.brand.px-brand .px-logo{display:block;height:1.5em;width:auto;overflow:visible}
.brand.px-brand .px-logo path{stroke:#f3f1ea;stroke-width:2.6}
.site-header .px-home{margin-left:auto;margin-right:clamp(12px,2vw,24px);display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;font-size:16px;line-height:1;color:#f3f1ea;text-decoration:none;opacity:.78;transition:opacity .2s ease,color .2s ease}
.site-header .px-home svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.site-header .px-home:hover,.site-header .px-home:focus-visible{opacity:1;color:var(--lime)}
.site-header .px-home:hover svg{transform:translateX(-3px)}

/* Contact form: selects match the underlined inputs; phone is a country code plus the number. */
.v6-form .v6-row + .v6-row{margin-top:clamp(20px,3vw,32px)}
.v6-field select{width:100%;padding:12px 28px 14px 0;border:0;border-bottom:1px solid rgba(243,241,234,.3);border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23f3f1ea' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px center/12px 8px;color:#f3f1ea;font:400 clamp(19px,1.5vw,22px)/1.4 Switzer,system-ui,sans-serif;outline:0;-webkit-appearance:none;appearance:none;cursor:pointer;transition:border-color .3s}
.v6-field select:invalid,.v6-field select:has(option[value=""]:checked){color:rgba(243,241,234,.42)}
.v6-field select:focus{border-bottom-color:var(--lime)}
.v6-field select:focus-visible{box-shadow:0 2px 0 var(--lime)}
.v6-field select option{background:#0a0a0a;color:#f3f1ea;font-size:16px}
.v14-phone{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:16px;align-items:end}
.v14-phone select{width:auto;min-width:6.2em}
.v6-field input[aria-invalid="true"],.v6-field select[aria-invalid="true"]{border-bottom-color:#ff8a7a}

/* Contact brief meter: the label and percentage change colour exactly where the fill is, off-white above it and
   ink on it, so they stay readable at every level. --pm eases the score for the fill and the text together. */
@property --pm{syntax:'<number>';inherits:true;initial-value:0}
.v6-meter{--pm:var(--p,0);--fill:calc(var(--pm) * 1.5px + 6px);transition:--pm .6s var(--v6-e,cubic-bezier(.22,1,.36,1))}
.v6-meter i{height:var(--fill);transition:none;background:linear-gradient(to top,var(--lime) calc(100% - 12px),color-mix(in srgb,var(--lime),transparent 35%));box-shadow:0 -6px 28px color-mix(in srgb,var(--lime),transparent 70%)}
/* The text sits 18px above the meter's bottom, and the curved top of the fill dips about 10px at the sides. */
html body .v6-meter span,html body .v6-meter b,html body .v6-brief.is-ready .v6-meter span,html body .v6-brief.is-ready .v6-meter b{color:transparent;-webkit-text-fill-color:transparent;background:linear-gradient(to top,var(--v6-ink,#0a0a0a) calc(var(--fill) - 28px),#f3f1ea calc(var(--fill) - 28px));-webkit-background-clip:text;background-clip:text}
@media (prefers-reduced-motion:reduce){.v6-meter{transition:none}}

/* CTA banners (2026-11-30): centred heading and button, no empty right half. Work, case studies, Experience. */
html body main .wv-cta-card{justify-items:center;text-align:center}
html body main .wv-cta-card h2{margin-inline:auto;max-width:16ch;text-wrap:balance}
html body main .page-end{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:clamp(18px,2.4vw,28px)!important;padding:clamp(40px,6vw,88px) clamp(20px,4vw,56px)!important}
html body main .page-end p{margin:0 auto!important;max-width:24ch;text-wrap:balance}

/* Footer call to action and the About "40,000+ leads." block: centred, no empty right half (2026-11-30). */
html body .unified-footer .footer-action{flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center;gap:clamp(20px,2.6vw,32px)!important}
html body .unified-footer .footer-action h2{margin-inline:auto;max-width:18ch;text-wrap:balance}
html body .av-flood-inner{text-align:center}
html body .av-flood-title{align-items:center}
html body .av-flood-stats dd{margin-inline:auto}
html body .av-flood-link{margin-inline:auto}
html body .av-flood-inner > .av-flood-link{display:inline-flex}
html body .av-flood-inner{display:flex;flex-direction:column;align-items:center}
html body .av-flood-stats{width:100%}
/* Case study banner buttons: the arrow icon is a round dark chip with an accent arrow, like every other CTA. */
html body:not(#v11) main .page-end :is(a,button) svg.jr-ic{box-sizing:border-box;width:34px!important;height:34px!important;padding:8px;border-radius:50%;background:#0a0a0a!important;color:var(--lime)!important;flex:none}
html body:not(#v11) main .page-end :is(a,button) svg.jr-ic path{stroke:var(--lime)!important}
