/* Webboxed 2027: shared design system for every page except the homepage.
   Same tokens and components as the homepage (page 12), scoped to body.wbx. */

:root{--navy:#1E2433;--paper:#F7F5F0;--magenta:#D6246E;--on-accent:#FFFFFF;--sun:#FFC83D;--coral:#FF6B4A;--glow:#FF8FB3;--bg:#F7F5F0;--surface:#FFFFFF;--ink:#1E2433;--muted:#5a5f6e;--line:#e8e4db;--line-control:#d8d4cc;--panel:#1E2433;--panel-surface:#272e40;--panel-line:#343c51;--panel-ink:#FFFFFF;--panel-soft:#c9cdd6;--panel-muted:#a9afbd;--grid:rgba(30,36,51,.13);--link:#C21C61;--display:"Montserrat","Helvetica Neue",Arial,sans-serif;--mono:"JetBrains Mono",ui-monospace,Menlo,monospace}
html{scroll-behavior:smooth}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* --- Astra resets ------------------------------------------------------- */
.wbx-page .site-content>.ast-container,.wbx-page .site-content .ast-container{max-width:none!important;padding:0!important;display:block}
.wbx-page #primary{margin:0!important;padding:0!important;width:100%!important}
.wbx-page #primary>article,.wbx-page #primary>main>article,.wbx-page .entry-content{margin:0!important;padding:0!important}
.wbx-page .entry-content>*{max-width:none!important;margin-left:0!important;margin-right:0!important;margin-top:0;margin-bottom:0}
.wbx-page .entry-header{display:none}
.wbx #ast-scroll-top{display:none!important}
.wbx #page *{box-sizing:border-box}
.wbx #page{background:var(--bg);color:var(--ink);font-family:var(--display);font-weight:500;font-size:16px;line-height:1.55;overflow-x:clip}
.wbx #page :is(h1,h2,h3,h4){color:inherit;font-family:var(--display);text-wrap:balance;margin:0}
.wbx #page :is(p,ul,ol,figure,blockquote){margin:0}
/* Captions under images, galleries, videos and embeds: inset from the edges, separated from the media (site-wide) */
.wbx #page :is(figure.wp-block-image,figure.wp-block-video,figure.wp-block-embed,figure.wp-block-audio) figcaption,.wbx #page figure.wp-block-gallery>figcaption{margin:0!important;padding:16px 24px 18px;border-top:1px solid var(--line);font-size:14.5px;line-height:1.55;color:var(--muted);text-align:left}
@media (max-width:640px){.wbx #page :is(figure.wp-block-image,figure.wp-block-video,figure.wp-block-embed,figure.wp-block-audio) figcaption,.wbx #page figure.wp-block-gallery>figcaption{padding:14px 18px 16px;font-size:14px}}
.wbx #page a{color:var(--link)}
.wbx #page :focus-visible{outline:3px solid var(--magenta);outline-offset:3px}
.wbx #page button{line-height:normal;text-transform:none;letter-spacing:normal;font-family:var(--display)}
.wbx #page label{font-weight:inherit;line-height:inherit}
.wbx #page [hidden]{display:none!important}

/* --- Basics ----------------------------------------------------------- */
.wbx #page .wrap{max-width:1320px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
@media (min-width:900px){.wbx #page .wrap{padding-left:max(64px,env(safe-area-inset-left,0px));padding-right:max(64px,env(safe-area-inset-right,0px))}}
.wbx #page .eyebrow{font-family:var(--mono);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.wbx #page .hand{font-family:"Caveat","Segoe Print",cursive;font-weight:600;color:var(--magenta);font-size:clamp(22px,2.2vw,28px);line-height:1.1}
.wbx #page .row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.wbx #page .btn,.wbx #page .wp-block-button__link{min-height:52px;padding:0 28px;border-radius:999px;border:0;background:var(--magenta);color:var(--on-accent);font:700 16px var(--display);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.2}
.wbx #page .btn:hover,.wbx #page .wp-block-button__link:hover{background:#B01C5A;color:#fff}
.wbx #page .btn.sm{min-height:44px;padding:0 18px;font-size:14px}
.wbx #page .btn.ghost,.wbx #page .is-style-outline .wp-block-button__link{background:transparent;color:var(--ink);border:1.5px solid var(--line-control)}
.wbx #page .btn.ghost:hover,.wbx #page .is-style-outline .wp-block-button__link:hover{border-color:var(--ink);background:transparent;color:var(--ink)}
.wbx #page .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}

/* --- Header ----------------------------------------------------------- */
.wbx #page .wbx-head{--ink:#fff;--muted:#B9BECA;--line-control:#4a5269;background:#1E2433;color:#fff;position:relative;z-index:50}
.wbx #page .wbx-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px}
.wbx #page .logo{display:flex;color:var(--ink)}
.wbx #page .logo svg{height:22px;width:auto;display:block}
.wbx #page .wbx-head nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px);font-weight:700;font-size:15px}
.wbx #page .wbx-head .links{display:flex;gap:clamp(14px,2.4vw,32px);list-style:none;margin:0;padding:0}
.wbx #page .wbx-head .links>li{position:relative}
.wbx #page .wbx-head .links a{color:#fff;text-decoration:none}
.wbx #page .wbx-head .links a:hover,.wbx #page .wbx-head .links a[aria-current]{color:var(--sun)}
.wbx #page .wbx-head .has-sub>a::after{content:"";display:inline-block;width:6px;height:6px;margin:0 0 3px 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.wbx #page .wbx-head .sub{position:absolute;left:-16px;top:100%;min-width:250px;list-style:none;margin:0;padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px rgba(30,36,51,.25);opacity:0;visibility:hidden;translate:0 8px;transition:opacity .2s,translate .2s,visibility .2s}
.wbx #page .wbx-head .has-sub::before{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.wbx #page .wbx-head .has-sub .sub{margin-top:14px}
.wbx #page .wbx-head .has-sub:hover .sub,.wbx #page .wbx-head .has-sub:focus-within .sub{opacity:1;visibility:visible;translate:0 0}
.wbx #page .wbx-head .sub a{display:block;padding:10px 12px;border-radius:10px;color:#1E2433;font-size:14px}
.wbx #page .wbx-head .sub a:hover{background:#F7F5F0;color:var(--magenta)}
.wbx #page .burger{display:none;width:44px;height:44px;border-radius:12px;border:1.5px solid var(--line-control);background:transparent;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;color:#fff;padding:0}
.wbx #page .burger i{display:block;width:18px;height:2px;background:currentColor;border-radius:2px}
@media (max-width:900px){.wbx #page .wbx-head .links{display:none}.wbx #page .burger{display:inline-flex}}
@media (max-width:480px){.wbx #page .wbx-head nav .btn.sm{display:none}}

/* Breadcrumbs */
.wbx #page .wbx-crumbs{background:#1E2433;color:#B9BECA;font-size:13px;border-top:1px solid #2e3547}
.wbx #page .wbx-crumbs ol{list-style:none;margin:0;padding:10px 0;display:flex;flex-wrap:wrap;gap:6px}
.wbx #page .wbx-crumbs li+li::before{content:"/";margin-right:6px;opacity:.5}
.wbx #page .wbx-crumbs a{color:#fff;text-decoration:none}
.wbx #page .wbx-crumbs a:hover{color:var(--sun)}

/* --- Page sections (block patterns) ---------------------------------- */
.wbx #page .wbx-sec{padding-block:clamp(48px,7vw,88px)}
.wbx #page .wbx-sec.alt{background:#EDE9E1}
.wbx #page .wbx-sec h2{font-size:clamp(30px,3.4vw,44px);line-height:1.08;font-weight:800;letter-spacing:-.02em;max-width:760px;margin-top:14px}
.wbx #page .wbx-sec .sub{color:var(--muted);font-size:18px;max-width:680px;margin-top:16px}
.wbx #page .wbx-sec>.wrap>*+*{margin-top:16px}

/* Page hero (dark, like the homepage hero) */
.wbx #page .wbx-hero{--ink:#fff;--muted:#B9BECA;--line:#343c51;--line-control:#4a5269;--surface:#272e40;--link:#FFC83D;background:radial-gradient(60% 70% at 85% 30%,rgba(214,36,110,.24),transparent 70%),radial-gradient(40% 50% at 95% 5%,rgba(255,200,61,.16),transparent 70%),#1E2433;color:#fff;padding-block:clamp(40px,6vw,80px) clamp(48px,7vw,96px)}
.wbx #page .wbx-hero .wrap{display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.wbx #page .wbx-hero h1{font-size:clamp(36px,4.6vw,62px);line-height:1.04;font-weight:800;letter-spacing:-.03em;max-width:900px}
/* No italics in headings (brand): an accented word is shown in colour instead. */
.wbx #page :is(h1,h2,h3,h4) em{font-style:normal;color:var(--magenta)}
.wbx #page .wbx-hero h1 em,.wbx #page .wbx-hero h1 mark{font-style:normal;background:linear-gradient(90deg,#FFC83D,#FF6B4A 45%,#D6246E);-webkit-background-clip:text;background-clip:text;color:transparent}
.wbx #page .wbx-hero .lead{font-size:clamp(17px,1.6vw,21px);color:var(--muted);max-width:680px}
.wbx #page .wbx-hero .wp-block-button__link{box-shadow:0 10px 30px rgba(214,36,110,.35)}
.wbx #page .wbx-hero .is-style-outline .wp-block-button__link{color:#fff;box-shadow:none}
.wbx #page .wbx-hero .is-style-outline .wp-block-button__link:hover{color:#fff;border-color:#fff}

/* Quick facts: the plain answers AI assistants and buyers quote */
.wbx #page .wbx-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;width:100%;margin-top:8px}
.wbx #page .wbx-facts>*{background:rgba(255,255,255,.06);border:1px solid var(--line);border-radius:16px;padding:16px 18px;font-size:15px;color:#fff}
.wbx #page .wbx-facts strong{display:block;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}

/* Cards */
.wbx #page .wbx-cards{display:flex;flex-wrap:wrap;gap:24px;margin-top:36px}
.wbx #page .wbx-card{flex:1 1 250px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px;display:flex;flex-direction:column;gap:12px}
.wbx #page .wbx-card h3{font-size:22px;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.wbx #page .wbx-card p{color:var(--muted)}
.wbx #page .wbx-card.dark{background:var(--panel);border-color:var(--panel);color:#fff}
.wbx #page .wbx-card.dark p{color:var(--panel-soft)}
.wbx #page .wbx-card.dark a{color:#FFC83D;font-weight:700}
.wbx #page .wbx-work .eyebrow{margin-top:14px}
.wbx #page .wbx-work h3{margin-top:4px}

/* How we do it: steps + scroll story */
.wbx #page .wbx-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,5vw,72px);align-items:start;margin-top:36px}
.wbx #page .wbx-how{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;counter-reset:st}
.wbx #page .wbx-how>li{counter-increment:st;background:var(--surface);border:1.5px solid var(--line);border-radius:20px;padding:26px 28px;display:flex;flex-direction:column;gap:8px;transition:border-color .35s,transform .35s;min-height:clamp(180px,32vh,300px);justify-content:center}
.wbx #page .wbx-how>li::before{content:counter(st,decimal-leading-zero);font-family:var(--mono);font-size:13px;letter-spacing:.1em;color:var(--magenta);font-weight:700}
.wbx #page .wbx-how>li strong{font-size:22px;font-weight:800;letter-spacing:-.01em;display:block}
.wbx #page .wbx-how>li.on{border-color:var(--magenta);transform:translateX(6px)}
.wbx #page .wbx-scene{position:sticky;top:max(24px,12vh);aspect-ratio:5/4;border-radius:24px;background-color:var(--surface);background-image:radial-gradient(var(--grid) 1px,transparent 1.4px);background-size:22px 22px;border:1px solid var(--line);overflow:hidden;display:flex;align-items:center;justify-content:center}
.wbx #page .wbx-scene .scene-tag{position:absolute;left:14px;top:14px;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;background:#1E2433;color:#fff;padding:5px 10px;border-radius:999px;z-index:2}
.wbx #page .wbx-scene .scene-ph{font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:center;padding:24px}
.wbx #page .wbx-scene .scene-bar{position:absolute;left:0;bottom:0;height:4px;width:calc(var(--p,0) * 100%);background:var(--magenta);transition:width .2s}
@media (max-width:860px){.wbx #page .wbx-story{grid-template-columns:1fr}.wbx #page .wbx-scene{position:sticky;top:8px;z-index:3;aspect-ratio:16/9;order:-1}.wbx #page .wbx-how>li{min-height:0}}

/* Dark panel ("What Bex adds") */
.wbx #page .wbx-panel{background:var(--panel);color:#fff;border-radius:24px;padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;gap:18px}
.wbx #page .wbx-panel h2{color:#fff;margin-top:0}
.wbx #page .wbx-panel p{color:var(--panel-soft);max-width:680px}
.wbx #page .wbx-panel .eyebrow{color:var(--panel-muted)}
.wbx #page .wbx-panel ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.wbx #page .wbx-panel li{background:var(--panel-surface);border:1px solid var(--panel-line);border-radius:16px;padding:16px 18px;color:#fff;font-weight:600}
.wbx #page .wbx-panel .is-style-outline .wp-block-button__link{color:#fff;border-color:var(--panel-line)}

/* Result strip (case studies) */
.wbx #page .wbx-result{display:flex;flex-wrap:wrap;gap:16px;margin-top:8px}
.wbx #page .wbx-result>*{flex:1 1 220px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--magenta);border-radius:16px;padding:20px 22px;color:var(--ink)}
.wbx #page .wbx-result strong{display:block;font-size:clamp(24px,2.6vw,34px);font-weight:800;letter-spacing:-.02em;line-height:1.1}

/* Quote (real client words only) */
.wbx #page .wbx-quote{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(24px,4vw,40px);max-width:860px}
.wbx #page .wbx-quote p{font-size:clamp(19px,2vw,24px);line-height:1.45;font-weight:700}
.wbx #page .wbx-quote cite{display:block;margin-top:14px;font-style:normal;font-size:15px;color:var(--muted)}

/* Projects grid */
.wbx #page .wbx-work{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:28px;margin-top:32px}
.wbx #page .wbx-work figure{margin:0;border-radius:20px;overflow:hidden;border:1px solid var(--line);aspect-ratio:16/10;background:var(--surface)}
.wbx #page .wbx-work img{width:100%;height:100%;object-fit:cover;display:block}
.wbx #page .wbx-work h3{font-size:20px;font-weight:800;margin-top:12px}
.wbx #page .wbx-work p{color:var(--muted);font-size:14px}

/* FAQ (core Details blocks) */
.wbx #page .wbx-faq .wp-block-details{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:0;margin-top:12px;max-width:860px}
.wbx #page .wbx-faq summary{cursor:pointer;list-style:none;padding:20px 56px 20px 22px;font-weight:800;font-size:18px;position:relative}
.wbx #page .wbx-faq summary::-webkit-details-marker{display:none}
.wbx #page .wbx-faq summary::after{content:"+";position:absolute;right:22px;top:50%;translate:0 -50%;font-size:24px;font-weight:600;color:var(--magenta)}
.wbx #page .wbx-faq details[open] summary::after{content:"–"}
.wbx #page .wbx-faq details>*:not(summary){padding:0 22px 20px;color:var(--muted)}

/* Prose (simple pages, legal, articles) */
.wbx #page .wbx-prose{max-width:760px}
.wbx #page .wbx-prose :is(h2,h3){margin-top:1.6em;margin-bottom:.5em;font-weight:800;letter-spacing:-.01em}
.wbx #page .wbx-prose h2{font-size:clamp(24px,2.4vw,30px)}
.wbx #page .wbx-prose h3{font-size:20px}
.wbx #page .wbx-prose :is(p,ul,ol){margin-bottom:1em;font-size:17px;line-height:1.7}
.wbx #page .wbx-prose :is(ul,ol){padding-left:1.3em}
.wbx #page .wbx-answer{background:#fff;border:1px solid var(--line);border-left:4px solid var(--magenta);border-radius:16px;padding:20px 22px;margin-bottom:28px}
.wbx #page .wbx-answer strong:first-child{display:block;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--magenta);margin-bottom:6px}

/* Closing call to action */
.wbx #page .wbx-cta{text-align:center}
.wbx #page .wbx-cta .wrap{display:flex;flex-direction:column;align-items:center;gap:18px}
.wbx #page .wbx-cta h2{margin-inline:auto}
.wbx #page .wbx-cta .sub{margin-inline:auto}
.wbx #page .wbx-cta .wp-block-buttons{justify-content:center}

/* --- Articles (single posts, Astra layout) --------------------------- */
.wbx.single-post .site-content .ast-container{max-width:860px}
.wbx.single-post .entry-title{font-size:clamp(32px,4vw,48px);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.wbx.single-post .entry-content :is(p,li){font-size:17px;line-height:1.75}
.wbx.single-post .entry-content h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.01em;margin-top:1.6em}
.wbx #page .wbx-post-cta{margin-top:48px;background:#1E2433;color:#fff;border-radius:24px;padding:clamp(24px,4vw,40px);display:flex;flex-direction:column;gap:12px}
.wbx #page .wbx-post-cta h2{color:#fff;font-size:clamp(24px,2.6vw,32px);margin:0}
.wbx #page .wbx-post-cta h2 a{color:#fff}
.wbx #page .wbx-post-cta p{color:#c9cdd6;margin:0}
.wbx #page .wbx-post-cta .eyebrow{color:#a9afbd}
.wbx #page .wbx-post-cta .btn.ghost{color:#fff;border-color:#4a5269}

/* --- Footer ----------------------------------------------------------- */
/* The footer (all pages, homepage included) lives in assets/css/footer.css since 16 Nov 2026. */
.wbx #page .greviews{display:flex;flex-direction:column;gap:2px;margin-top:6px}
.wbx #page .gstars{color:#FFC83D;font-size:20px;letter-spacing:2px;line-height:1}
.wbx #page .glink{display:block;margin-top:6px}

/* --- Book a call dialog ---------------------------------------------- */
.wbx #page .book{position:fixed;inset:0;z-index:80;background:rgba(20,25,37,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.wbx #page .book-card{position:relative;width:min(520px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:var(--surface);color:var(--ink);border-radius:24px;padding:clamp(22px,4vw,36px);display:flex;flex-direction:column;gap:14px;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.wbx #page .book-card h2{font-size:clamp(26px,3.4vw,34px);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.wbx #page .book-card .sub{color:var(--muted)}
.wbx #page .book-card>.btn{align-self:flex-start}
.wbx #page .book-x{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:var(--bg);color:var(--ink);font-size:24px;cursor:pointer;padding:0}
.wbx #page .book-card.cal{width:min(980px,100%);height:calc(100dvh - 32px)}
.wbx #page .book-card.cal>:not(.book-cal):not(.book-x){display:none!important}
.wbx #page .book-cal{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.wbx #page .book-cal[hidden]{display:none}
.wbx #page .book-cal iframe{flex:1;width:100%;min-height:520px;border:0;border-radius:14px;background:#1E2433}
.wbx #page .book-back{align-self:flex-start;min-height:44px;border:0;background:none;color:var(--ink);font:700 15px var(--display);cursor:pointer;padding:0 4px}
.wbx #page .book-alt{font-size:14px;color:var(--muted);margin:0}
.wbx #page .book-alt a{color:var(--ink);text-decoration:underline}
@media (max-width:600px){.wbx #page .book{padding:0}.wbx #page .book-card.cal{height:100dvh;max-height:100dvh;border-radius:0;padding:16px}}
.wbx #page .book .or{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px}
.wbx #page .book .or::before,.wbx #page .book .or::after{content:"";flex:1;border-top:1px solid var(--line)}
.wbx #page #book-form{display:flex;flex-direction:column;gap:12px}
.wbx #page #book-form .field{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.wbx #page #book-form input,.wbx #page #book-form select{min-height:48px;border-radius:12px;border:1.5px solid var(--line-control);background:var(--bg);color:var(--ink);padding:0 12px;font:500 16px var(--display)}
.wbx #page #book-form input:focus,.wbx #page #book-form select:focus{outline:2px solid var(--magenta);outline-offset:1px}
.wbx #page #book-form .btn{align-self:flex-start}
.wbx #page .err{color:var(--link);font-size:14px;font-weight:700}
.wbx #page .book-done{display:flex;flex-direction:column;gap:6px}
.wbx #page .book-done a{color:var(--link);font-weight:700}

/* Scroll-story scene tag: one label per step (.t1 … .t6), shown for the current step */
.wbx #page .wbx-scene .scene-tag span{display:none}
.wbx-scene[data-step="1"] .scene-tag .t1,.wbx-scene[data-step="2"] .scene-tag .t2,.wbx-scene[data-step="3"] .scene-tag .t3,.wbx-scene[data-step="4"] .scene-tag .t4,.wbx-scene[data-step="5"] .scene-tag .t5,.wbx-scene[data-step="6"] .scene-tag .t6{display:inline!important}

/* --- Story: Websites. Paper sketch → blueprint → design → built and tested → live --- */
.wbx #page .wbx-scene[data-story="websites"]{background:#fff}
.wbx #page .wbx-scene .ws{position:absolute;inset:0;width:100%;height:100%;display:block}
.ws *{transition:opacity .6s ease,fill .6s ease,stroke .6s ease,stroke-width .6s ease,transform .9s cubic-bezier(.65,0,.35,1)}
.ws .bg-paper,.ws .bg-blue,.ws .st{opacity:0}
.ws .site{transform-box:view-box;transform-origin:250px 200px}
/* Finished look (steps 3–5) */
.ws .frame{fill:#fff;stroke:#e8e4db;stroke-width:1.5}
.ws .hd{fill:#1E2433;stroke:transparent}
.ws .h1{fill:#1E2433;stroke:transparent}
.ws .ln{fill:#d8d4cc;stroke:transparent}
.ws .cta{fill:#D6246E;stroke:transparent}
.ws .img{fill:url(#wsg);stroke:transparent}
.ws .card{fill:#F7F5F0;stroke:#e8e4db}
.ws .img-x{opacity:0;stroke:#3A4152}
/* 1 · First call: pencil sketch on paper */
.wbx-scene[data-step="1"] .ws .bg-paper,.wbx-scene[data-step="1"] .ws .st1{opacity:1}
.wbx-scene[data-step="1"] .ws .site{transform:rotate(-1.4deg)}
.wbx-scene[data-step="1"] .ws .site :is(.frame,.hd,.h1,.ln,.cta,.img,.card){fill:transparent;stroke:#3A4152;stroke-width:2.2}
.wbx-scene[data-step="1"] .ws .img-x{opacity:1}
/* 2 · Plan in writing: blueprint */
.wbx-scene[data-step="2"] .ws .bg-blue,.wbx-scene[data-step="2"] .ws .st2{opacity:1}
.wbx-scene[data-step="2"] .ws .site :is(.frame,.hd,.h1,.ln,.cta,.img,.card){fill:transparent;stroke:#fff;stroke-width:1.4;stroke-dasharray:6 4}
.wbx-scene[data-step="2"] .ws .img-x{opacity:.6;stroke:#fff}
/* 3 · Design: colour, type, real look */
.wbx-scene[data-step="3"] .ws .st3{opacity:1}
/* 4 · Build and test: every screen size */
.wbx-scene[data-step="4"] .ws .st4{opacity:1}
.wbx-scene[data-step="4"] .ws .site{transform:translate(-40px,0) scale(.82)}
/* 5 · Launch: live, and Bex starts working */
.wbx-scene[data-step="5"] .ws .st5{opacity:1}
.wbx-scene[data-step="5"] .ws .bex-dot{animation:wsPop .6s .3s cubic-bezier(.3,1.6,.5,1) both}
.wbx-scene[data-step="5"] .ws .toast{animation:wsRise .5s 1s ease both}
@keyframes wsPop{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes wsRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ws .bex-dot,.ws .toast{transform-box:fill-box;transform-origin:center}

/* --- Scroll story, full screen (v2, 11 Nov): the scene fills the screen and stays pinned;
       the step cards scroll up over it on the left (bottom on phones). Overrides the v1 side-by-side layout. --- */
.wbx #page .wbx-story{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100vw;margin-left:calc(50% - 50vw);margin-top:36px;position:relative;align-items:stretch}
.wbx #page .wbx-story>*{grid-area:1/1}
.wbx #page .wbx-scene{position:sticky;top:0;height:100vh;height:100svh;width:100%;aspect-ratio:auto;border:0;border-radius:0;align-self:start;z-index:0;background-color:#F7F5F0;background-image:none;transition:background-color .6s}
.wbx #page .wbx-scene .ws{left:auto;right:3vw;top:7vh;width:min(62vw,118vh);height:86vh}
.wbx #page .wbx-scene .scene-tag{left:max(16px,calc((100vw - 1320px)/2 + 64px));top:24px;font-size:12px;padding:7px 12px}
.wbx #page .wbx-scene .scene-bar{height:5px}
.wbx #page .wbx-how{position:relative;z-index:2;gap:72vh;padding:34vh 16px 46vh max(16px,calc((100vw - 1320px)/2 + 64px));pointer-events:none}
.wbx #page .wbx-how>li{pointer-events:auto;max-width:400px;min-height:0;transform:none;box-shadow:0 24px 60px rgba(30,36,51,.16);opacity:.55;transition:opacity .4s,border-color .35s}
.wbx #page .wbx-how>li.on{transform:none;opacity:1}
@media (max-width:900px){
  .wbx #page .wbx-scene{order:0;aspect-ratio:auto;top:0}
  .wbx #page .wbx-scene .ws{left:0;right:0;top:60px;width:100%;height:50svh}
  .wbx #page .wbx-scene .scene-tag{left:16px;top:16px}
  .wbx #page .wbx-how{gap:85vh;padding:68svh 16px 40vh}
  .wbx #page .wbx-how>li{max-width:none;opacity:1}
}
/* Uplift (v3, 11 Nov): big ghost step number, step tracker, bigger cards, bigger scene */
.wbx #page .wbx-scene::before{content:"0" attr(data-step);position:absolute;left:max(8px,calc((100vw - 1320px)/2 + 40px));top:4vh;font:800 clamp(180px,38vh,420px)/1 var(--display);letter-spacing:-.06em;color:rgba(30,36,51,.06);pointer-events:none;z-index:0;transition:color .6s}
.wbx #page .wbx-scene .ws{right:2vw;top:6vh;width:min(64vw,124vh);height:88vh;z-index:1}
.wbx #page .scene-rail{position:absolute;left:max(16px,calc((100vw - 1320px)/2 + 64px));bottom:8vh;z-index:1;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.wbx #page .scene-rail li{display:flex;align-items:center;gap:12px;font:600 14px/1.2 var(--display);color:rgba(30,36,51,.42);transition:color .35s}
.wbx #page .scene-rail b{font:500 11px var(--mono);letter-spacing:.1em;width:20px}
.wbx #page .scene-rail i{display:block;width:24px;height:3px;border-radius:2px;background:currentColor;transition:width .35s,background .35s}
.wbx #page .scene-rail li.done{color:#1E2433}
.wbx #page .scene-rail li.on{color:var(--magenta);font-weight:800}
.wbx #page .scene-rail li.on i{width:56px}
.wbx #page .wbx-how>li{max-width:440px;padding:32px 34px;border-radius:24px;gap:10px;border-width:2px}
.wbx #page .wbx-how>li strong{font-size:clamp(24px,2vw,30px);letter-spacing:-.02em;line-height:1.1}
.wbx #page .wbx-how>li.on{border-color:var(--magenta);box-shadow:0 28px 70px rgba(214,36,110,.18)}
@media (max-width:900px){.wbx #page .scene-rail{display:none}.wbx #page .wbx-scene::before{font-size:28vh;top:auto;bottom:0;left:8px}.wbx #page .wbx-scene .ws{left:0;right:0;top:60px;width:100%;height:50svh}}
/* Blueprint step: light tracker + number on blue */
.wbx #page .wbx-scene[data-step="2"][data-story="websites"]::before{color:rgba(255,255,255,.08)}
.wbx #page .wbx-scene[data-story="websites"][data-step="2"] .scene-rail li{color:rgba(255,255,255,.5)}
.wbx #page .wbx-scene[data-story="websites"][data-step="2"] .scene-rail li.done{color:#fff}
.wbx #page .wbx-scene[data-story="websites"][data-step="2"] .scene-rail li.on{color:#FFC83D}
/* Launch confetti */
.wbx-scene[data-step="5"] .ws .confetti>*{animation:wsDrop 1.4s cubic-bezier(.2,.7,.3,1) both}
.wbx-scene[data-step="5"] .ws .confetti>*:nth-child(2n){animation-delay:.15s}
.wbx-scene[data-step="5"] .ws .confetti>*:nth-child(3n){animation-delay:.3s}
@keyframes wsDrop{from{transform:translateY(-40px) rotate(0);opacity:0}to{transform:none;opacity:1}}
.ws .confetti>*{transform-box:fill-box;transform-origin:center}

/* --- Scene layers for every story: .st = hidden until its step; .stN = only step N; .fromN = step N onwards; .until2 = steps 1–2 only --- */
.ws .from2,.ws .from3,.ws .from4,.ws .until2{opacity:0}
.wbx-scene:is([data-step="1"],[data-step="2"]) .ws .until2{opacity:1}
.wbx-scene:is([data-step="2"],[data-step="3"],[data-step="4"],[data-step="5"]) .ws .from2{opacity:1}
.wbx-scene:is([data-step="3"],[data-step="4"],[data-step="5"]) .ws .from3{opacity:1}
.wbx-scene:is([data-step="4"],[data-step="5"]) .ws .from4{opacity:1}
.ws .blink{animation:wsBlink 1.6s steps(2) infinite}
.ws .blink:nth-of-type(2n){animation-delay:.4s}
.ws .blink:nth-of-type(3n){animation-delay:.9s}
@keyframes wsBlink{50%{opacity:.25}}
.ws .float{animation:wsFloat 3s ease-in-out infinite}
@keyframes wsFloat{50%{transform:translateY(-6px)}}
.ws .float{transform-box:fill-box}
/* Dark scenes (Hosting & Care) */
.wbx #page .wbx-scene[data-tone="dark"]{background-color:#1E2433;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.4px);background-size:24px 24px}
.wbx #page .wbx-scene[data-tone="dark"]::before{color:rgba(255,255,255,.06)}
.wbx #page .wbx-scene[data-tone="dark"] .scene-tag{background:#fff;color:#1E2433}
.wbx #page .wbx-scene[data-tone="dark"] .scene-rail li{color:rgba(255,255,255,.45)}
.wbx #page .wbx-scene[data-tone="dark"] .scene-rail li.done{color:#fff}
.wbx #page .wbx-scene[data-tone="dark"] .scene-rail li.on{color:#FFC83D}
/* Branding: cream studio desk */
.wbx #page .wbx-scene[data-story="branding"]{background-color:#FBF7EE}
/* SEO & AI Search: your result climbs to the top, then an AI assistant recommends you */
.wbx #page .wbx-scene[data-story="seo"]{background-color:#fff}
.ws .you,.ws .others{transform-box:view-box}
.wbx-scene[data-story="seo"]:is([data-step="3"],[data-step="4"]) .ws .you{transform:translateY(-200px)}
.wbx-scene[data-story="seo"]:is([data-step="3"],[data-step="4"]) .ws .others{transform:translateY(50px)}
.wbx-scene[data-story="seo"][data-step="4"] .ws .serp{opacity:.25}
/* Ads: one ad gets paused, enquiries go up */
.wbx #page .wbx-scene[data-story="ads"]{background-color:#F7F5F0}
.wbx-scene[data-story="ads"]:is([data-step="3"],[data-step="4"]) .ws .ad2{opacity:.35}
/* Social: soft pink */
.wbx #page .wbx-scene[data-story="social"]{background-color:#FCF1F5}
/* Consultancy: whiteboard */
.wbx #page .wbx-scene[data-story="consult"]{background-color:#fff;background-image:linear-gradient(180deg,rgba(30,36,51,.03),transparent 30%)}

/* Equal boxes (11 Nov): WordPress adds a top margin to every block after the first one in a group
   ("is-layout-flow > * + *"), which pushed cards 2+ down and made rows uneven. Our components space
   their children with gap, so those margins are switched off here. Cards stretch to the row height. */
.wbx #page :is(.wbx-cards,.wbx-facts,.wbx-work,.wbx-result,.wbx-story,.wbx-hero .wrap,.wbx-panel,.wbx-card,.wbx-quote,.wbx-answer,.wbx-post-cta)>*{margin-top:0!important;margin-bottom:0!important}
.wbx #page .wbx-cards{align-items:stretch}
.wbx #page .wbx-card{height:auto}
.wbx #page .wbx-card>p:last-child a:only-child,.wbx #page .wbx-card .eyebrow:last-child{margin-top:auto!important}
.wbx #page .wbx-work>*{display:flex;flex-direction:column;gap:6px}
.wbx #page .wbx-work .eyebrow{margin-top:8px!important}
.wbx #page .wbx-panel>.wp-block-buttons{margin-top:6px!important}

/* Page forms (Contact, Careers) */
.wbx #page .wbx-formbox{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:clamp(22px,4vw,40px);max-width:640px;display:flex;flex-direction:column;gap:14px}
.wbx #page .wbx-lead{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wbx #page .wbx-lead .full{grid-column:1/-1}
.wbx #page .wbx-lead label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.wbx #page .wbx-lead :is(input,select,textarea){min-height:48px;border-radius:12px;border:1.5px solid var(--line-control);background:var(--bg);color:var(--ink);padding:10px 12px;font:500 16px var(--display);width:100%}
.wbx #page .wbx-lead textarea{min-height:110px;resize:vertical}
.wbx #page .wbx-lead :is(input,select,textarea):focus{outline:2px solid var(--magenta);outline-offset:1px}
.wbx #page .wbx-lead .btn{justify-self:start}
.wbx #page .wbx-done{display:flex;flex-direction:column;gap:6px}
@media (max-width:560px){.wbx #page .wbx-lead{grid-template-columns:1fr}}
/* Contact: big option cards */
.wbx #page .wbx-card .btn{align-self:flex-start;margin-top:auto!important}
.wbx #page .wbx-card ul{margin:0;padding-left:1.1em;color:var(--muted)}
/* Legal pages: small print table of contents */
.wbx #page .wbx-prose .updated{font-family:var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wbx #page .wbx-note{background:#FFF7DD;border:1px solid #F5D15A;border-radius:14px;padding:14px 18px;font-size:15px;color:#3A4152;margin-bottom:24px}
/* Bex story: soft paper */
.wbx #page .wbx-scene[data-story="bex"]{background-color:#F7F5F0}

/* Rows of exactly 5 cards: five columns on desktop instead of 4 + 1 */
.wbx #page .wbx-cards:has(>:nth-child(5):last-child)>*{flex-basis:180px}
/* Blog index */
.wbx.blog .wbx-blog-hero .wrap{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.wbx.blog .wbx-blog-hero h1{font-size:clamp(34px,4.2vw,56px);line-height:1.05;font-weight:800;letter-spacing:-.03em;max-width:900px}
.wbx.blog .no-results,.wbx.blog .ast-no-post-feed{display:none}
.wbx #page .wbx-empty{max-width:640px;margin:48px auto;text-align:center;display:flex;flex-direction:column;gap:14px;align-items:center}
.wbx #page .wbx-empty h2{font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.02em}
.wbx #page .wbx-empty p{color:var(--muted)}
.wbx #page .wbx-empty .row{justify-content:center}

/* --- UI/UX pass (11 Nov) ---------------------------------------------- */
/* Sticky header: stays on top, tightens + gets a shadow once you scroll. Anchors stop below it. */
html{scroll-padding-top:84px}
.wbx #page .wbx-head{position:sticky;top:var(--wp-admin--admin-bar--height,0px);transition:box-shadow .3s}
.wbx #page .wbx-head .wrap{transition:padding .25s}
.wbx #page .wbx-head.is-stuck{box-shadow:0 10px 30px rgba(10,14,24,.28)}
.wbx #page .wbx-head.is-stuck .wrap{padding-block:10px}
/* Mobile menu panel: assets/css/mnav.css */
/* Scroll-story scene sits just under the (tightened) header */
.wbx #page .wbx-scene{top:calc(var(--wbx-head,64px) + var(--wp-admin--admin-bar--height,0px));height:calc(100vh - var(--wbx-head,64px) - var(--wp-admin--admin-bar--height,0px));height:calc(100svh - var(--wbx-head,64px) - var(--wp-admin--admin-bar--height,0px))}
.wbx #page .wbx-scene .ws{top:5%;height:90%}
@media (max-width:900px){.wbx #page .wbx-scene .ws{top:56px;height:48%}}
/* Tap targets: 44px menu links, roomier footer links */
.wbx #page .wbx-head .links>li>a{display:inline-flex;align-items:center;min-height:44px}
.wbx #page .wbx-foot :is(.flinks a,.fbar a,a.tel,a.wa){display:inline-block;padding-block:6px}
.wbx #page .wbx-foot .glink{padding-block:8px}
/* Buttons inside dark cards keep their own colours (contrast) */
.wbx #page .wbx-card.dark .wp-block-button__link{color:#fff}
.wbx #page .wbx-card.dark .is-style-outline .wp-block-button__link{color:#fff;border-color:#4a5269}
.wbx #page .wbx-card.dark .is-style-outline .wp-block-button__link:hover{border-color:#fff}
/* Keyboard focus visible on dark backgrounds too */
.wbx #page :is(.wbx-head,.wbx-hero,.wbx-foot,.wbx-panel,.wbx-card.dark) :focus-visible{outline-color:#FFC83D}

/* Websites: the page itself becomes the paper, then the blueprint */
.ws .bg-paper,.ws .bg-blue{display:none}
.wbx #page .wbx-scene[data-story="websites"]{background-color:#F7F5F0}
.wbx #page .wbx-scene[data-story="websites"][data-step="1"]{background-color:#FFFCF3;background-image:repeating-linear-gradient(to bottom,transparent 0 31px,#E6DFCC 31px 32px)}
.wbx #page .wbx-scene[data-story="websites"][data-step="2"]{background-color:#1B4C86;background-image:linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px);background-size:24px 24px}
.wbx #page .wbx-scene[data-story="websites"][data-step="2"] .scene-tag{background:#fff;color:#1B4C86}

/* --- Spacing scale (16 Nov): one rhythm for every section on every page ----------------
   eyebrow → heading 12px · heading → text 16px · text → text 16px
   text → buttons 28px · intro → content block (cards, grids, stories, FAQ…) 40px
   Applies to section wraps and to any stacked text column (.wbx-stack). */
.wbx #page :is(.wbx-sec>.wrap,.wbx-stack)>*+*{margin-top:16px}
.wbx #page :is(.wbx-sec>.wrap,.wbx-stack)>.eyebrow+*{margin-top:12px}
.wbx #page :is(.wbx-sec>.wrap,.wbx-stack)>*+:is(.wp-block-buttons,.row){margin-top:28px}
.wbx #page .wbx-sec>.wrap>:is(p,h2,h3,.wp-block-buttons,.row)+:not(p,h2,h3,h4,.wp-block-list,.wp-block-buttons,.row){margin-top:40px}
.wbx #page .wbx-sec .wbx-stack h2{margin-top:12px}
/* Hero + closing CTA use flex gaps: buttons get the same 28px. */
.wbx #page .wbx-hero .wrap{gap:16px}
.wbx #page .wbx-hero .wrap>.eyebrow+*{margin-top:-4px!important}
.wbx #page .wbx-hero .wrap>:is(.wp-block-buttons,.row,.wbx-stats,.wbx-facts){margin-top:12px!important}
.wbx #page .wbx-cta .wrap{gap:0}
.wbx #page .wbx-panel{gap:16px}
.wbx #page .wbx-panel>.eyebrow+*{margin-top:-4px!important}
.wbx #page .wbx-panel>.wp-block-buttons{margin-top:12px!important}
.wbx #page .wbx-panel>:is(p,h2)+:is(ul,.wbx-cards){margin-top:24px!important}
.wbx #page .wbx-panel>:is(ul,.wbx-cards)+p{margin-top:24px!important}

@media (prefers-reduced-motion:reduce){.wbx #page *,.wbx #page *::before,.wbx #page *::after{animation:none!important;transition:none!important}}

/* --- Page ending (16 Nov 2026, option C, all pages): two-column questions; the call to action is a dark card with the Webboxed mark; the footer does not repeat its buttons --- */
body.wbx #page .wbx-faq .wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);grid-auto-flow:row dense;column-gap:clamp(32px,5vw,72px);align-items:start}
body.wbx #page .wbx-faq .wrap>.eyebrow{grid-column:1;grid-row:1}
body.wbx #page .wbx-faq .wrap>h2{grid-column:1;grid-row:1 / span 4;margin-top:32px!important}
body.wbx #page .wbx-faq .wrap>.wp-block-details{grid-column:2;max-width:none;margin-top:0!important;margin-bottom:12px!important}
body.wbx #page .wbx-faq{padding-bottom:clamp(24px,3vw,40px)}
@media (max-width:900px){ body.wbx #page .wbx-faq .wrap{grid-template-columns:1fr} body.wbx #page .wbx-faq .wrap>.wp-block-details{grid-column:1} body.wbx #page .wbx-faq .wrap>h2{grid-row:auto;margin-top:12px!important;margin-bottom:16px!important} }
body.wbx #page .wbx-cta{text-align:left;padding-top:clamp(24px,3vw,40px);padding-bottom:clamp(48px,6vw,80px)}
body.wbx #page .wbx-cta .wrap{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;align-items:start;width:calc(100% - 32px);max-width:1192px;margin-inline:auto;background:#1E2433;color:#fff;border-radius:24px;padding:clamp(36px,5vw,64px) clamp(24px,5vw,64px);padding-right:calc(clamp(140px,16vw,210px) + clamp(56px,10vw,144px))}
@media (min-width:900px){ body.wbx #page .wbx-cta .wrap{width:calc(100% - 128px)} }
body.wbx #page .wbx-cta .wrap>*{margin:0!important}
body.wbx #page .wbx-cta .wrap::after{content:"";position:absolute;z-index:-1;width:clamp(140px,16vw,210px);aspect-ratio:1;right:clamp(28px,5vw,72px);top:50%;translate:0 -50%;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='100' y2='100'><stop offset='0' stop-color='%23FFC83D'/><stop offset='.5' stop-color='%23FF6B4A'/><stop offset='1' stop-color='%23D6246E'/></linearGradient></defs><polygon points='0,0 100,0 0,100' fill='url(%23g)'/><circle cx='88' cy='88' r='12' fill='%23D6246E'/></svg>") center/contain no-repeat}
body.wbx #page .wbx-cta .eyebrow{color:#a9afbd}
body.wbx #page .wbx-cta h2{color:#fff;margin-top:10px!important;max-width:20ch}
body.wbx #page .wbx-cta .sub{color:#c9cdd6;margin-top:14px!important;max-width:46ch}
body.wbx #page .wbx-cta .wp-block-buttons{justify-content:flex-start;margin-top:26px!important}
body.wbx #page .wbx-cta .is-style-outline .wp-block-button__link{color:#fff;border-color:#4a5269;background:transparent}
body.wbx #page .wbx-cta .is-style-outline .wp-block-button__link:hover{border-color:#fff}
body.wbx #page .wbx-cta :focus-visible{outline-color:#FFC83D}
body.wbx #page:has(.wbx-cta) .wbx-foot .fcta{display:none}
@media (max-width:700px){ body.wbx #page .wbx-cta .wrap{padding-right:clamp(24px,5vw,64px);padding-top:150px} body.wbx #page .wbx-cta .wrap::after{width:96px;left:clamp(24px,5vw,64px);right:auto;top:36px;translate:none} }

body.wbx #page .wbx-cta .wbx-csx-svcs{margin-top:18px!important;color:#a9afbd;justify-content:flex-start}body.wbx #page .wbx-cta .wbx-csx-svcs span{width:100%}body.wbx #page .wbx-cta .wbx-csx-svc{color:#fff!important;border-color:#4a5269}body.wbx #page .wbx-cta .wbx-csx-svc:hover{border-color:#fff}
/* Pinned "how we do it" stories: no leftover grey strip under the story before the next section */
body.wbx #page .wbx-sec.alt:has(.wbx-story){padding-bottom:0}
/* Web Apps & Tools story (18 Nov): messy spreadsheet → plan on paper → app built in stages → live and connected */
.wbx #page .wbx-scene[data-story="apps"]{background-color:#fff}
.wbx #page .wbx-scene[data-story="apps"][data-step="1"]{background-color:#F4F7F4}
.wbx #page .wbx-scene[data-story="apps"][data-step="2"]{background-color:#FFFCF3;background-image:repeating-linear-gradient(to bottom,transparent 0 31px,#E6DFCC 31px 32px)}
.ws .from3{transition:opacity .4s}
.wbx-scene[data-story="apps"][data-step="4"] .ws .toast{animation:wsRise .5s .6s ease both}
