/* V40: editorial polish; previous design tokens and saved settings remain intact. */
:root{--hm40-sticky-height:0px;--hm40-reading:70ch}
html:not(.hm-high-contrast).hm-dark{--hm24-paper:#1e1f21;--hm24-surface:#262729;--hm24-ink:#f3f1ed;--hm24-muted:#c9c8c5;--hm24-rule:#535456;--hm26-tone:#303134}
/* Constrain text, not the grid, images, galleries, or deliberately wide authored blocks. */
body.hm26-consultancy .hm24-story .hm24-prose{max-width:100%}
body.hm26-consultancy .hm24-story .hm24-prose > :is(p,ul,ol,h2,h3,h4,h5,h6,blockquote):not(.alignwide,.alignfull){max-inline-size:var(--hm40-reading);overflow-wrap:anywhere}
body.hm26-consultancy #main :is(.hm24-prose,.hm24-page-content) > h2:not(:first-child,.is-style-hm39-violet,.is-style-hm39-peach,.is-style-hm39-rose){margin-block-start:clamp(2rem,3.1vw,3.4rem);margin-block-end:clamp(.8rem,1.4vw,1.35rem)}
/* Keep image zoom contained and use the same motion curve for cards and the featured project. */
.hm24-card-media,.hm26-feature-media{overflow:hidden}
.hm24-card-media img,.hm26-feature-media img{transition:transform .55s cubic-bezier(.2,.65,.25,1);transform-origin:center}
@media(hover:hover) and (pointer:fine){
 body.hm26-consultancy .hm24-card a:hover .hm24-card-media img,.hm26-feature-media:hover img{transform:scale(1.045)}
 .hm40-project-cursor .hm-v21-cursor:is(.hm40-cursor-project,.hm453-cursor-article).hm-v21-visible{width:112px;height:112px;opacity:1;background:#fff;mix-blend-mode:difference;box-shadow:none}
 .hm40-project-cursor .hm-v21-cursor:is(.hm40-cursor-project,.hm453-cursor-article).hm-v21-visible + .hm-v21-cursor-label{display:block}
}
/* Desktop header only. Measured height is shared with section navigation and anchor scrolling. */
@media(min-width:1024px) and (min-height:650px){
 html.hm40-sticky-ready:not(.hm-large-type) body.hm40-sticky-enabled.hm26-consultancy .hm-header:not(.hm-header-home){position:sticky;top:var(--hm26-admin,0px);z-index:110}
 html.hm40-sticky-ready:not(.hm-large-type) body.hm40-sticky-enabled.hm26-consultancy .hm-header.hm40-scrolled:not(.hm-header-home){background:var(--hm24-surface);border-bottom:1px solid var(--hm24-rule);backdrop-filter:none;min-height:64px;padding-block:8px;margin-block-end:var(--hm40-header-compensation,0px)}
 html.hm40-sticky-ready:not(.hm-large-type) body.hm40-sticky-enabled .hm-header.hm40-scrolled .hm24-brand-image{max-height:44px}
 html.hm40-sticky-ready:not(.hm-large-type) .hm34-context.hm34-context-sticky{top:calc(var(--hm26-admin,0px) + var(--hm40-sticky-height))}
 html.hm40-sticky-ready:not(.hm-large-type) .hm34-reading-progress{top:calc(var(--hm26-admin,0px) + var(--hm40-sticky-height))}
}
html{scroll-padding-top:calc(var(--hm37-sticky-offset,0px) + var(--hm40-sticky-height) + var(--wp-admin--admin-bar--height,0px) + 12px)}
/* Context targets already receive the navigation height via scroll-padding. */
html.hm40-sticky-ready .hm34-context-target{scroll-margin-top:6px}
/* Closing statement uses the editorial serif; footer headings and links remain sans-serif. */
body .hm29-footer .hm40-footer-invitation{display:flex;align-items:flex-end;justify-content:space-between;gap:24px 48px;padding-block:0 clamp(32px,5vw,70px);margin-block-end:clamp(32px,4vw,56px);border-bottom:1px solid var(--hm24-rule)}
body .hm29-footer .hm40-footer-invitation p{font-family:var(--hm29-serif,"Libre Baskerville",Georgia,serif);font-size:clamp(1.85rem,3.5vw,3.5rem);line-height:1.25;letter-spacing:-.025em;max-width:25ch;margin:0;overflow-wrap:anywhere}
body .hm29-footer a.hm40-footer-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 22px;border-radius:999px;background:var(--hm24-ink);color:var(--hm24-surface);border:1px solid var(--hm24-ink);font-size:.95rem;line-height:1.4;text-decoration:none;flex-shrink:0;max-width:100%}
body .hm29-footer a.hm40-footer-cta:hover{background:var(--hm24-surface);color:var(--hm24-ink);text-decoration:none}
body:not(.hm25-footer-paper) .hm29-footer .hm40-footer-invitation{border-color:#18181755}
body:not(.hm25-footer-paper) .hm29-footer a.hm40-footer-cta{background:#181817;color:#fff;border-color:#181817}
body:not(.hm25-footer-paper) .hm29-footer a.hm40-footer-cta:hover{background:#fff;color:#181817}
@media(max-width:781px){body .hm29-footer .hm40-footer-invitation{align-items:flex-start;flex-direction:column}}
/* Retain the V30 native/Fluent Forms opt-in and validation semantics. */
body :is(.hm30-form,.enquiry-form,.post-password-form,.search-form,.wp-block-search,.hm29-footer-newsletter,body.hm30-fluent .fluentform:not(.hm30-native-form)) :is(input:not([type]),input:is([type=text],[type=email],[type=tel],[type=url],[type=number],[type=password],[type=search],[type=date],[type=datetime-local],[type=time],[type=month],[type=week]),textarea,select){border-radius:8px;min-height:48px;line-height:1.5}
body.hm30-fluent .fluentform:not(.hm30-native-form) .ff-el-group{margin-bottom:24px}
body.hm30-fluent .fluentform:not(.hm30-native-form) :is(.ff-message-success,.ff-errors-in-stack){border-radius:8px}
@media(prefers-reduced-motion:reduce){.hm24-card-media img,.hm26-feature-media img{transition:none!important;transform:none!important}}
html:is(.hm-reduce-motion,.hm-high-contrast) :is(.hm24-card-media,.hm26-feature-media) img{transition:none!important;transform:none!important}
@media(forced-colors:active){.hm24-card-media img,.hm26-feature-media img{transition:none!important;transform:none!important}.hm-v21-cursor{display:none!important}}
