.hf-skip{position:absolute;left:-999px;top:0;background:var(--wp--preset--color--brand-blue);color:#fff;padding:8px 16px;z-index:100}.hf-skip:focus{left:8px;top:8px}
/* templates wrap the header part in a div (tagName) exactly its own height, which is the sticky containing block — so the header could never stick. Dissolve the wrapper. */
.wp-block-template-part:has(> .hf-header){display:contents}
.hf-header{position:sticky;top:0;z-index:50;background:var(--wp--preset--color--white);border-bottom:var(--wp--custom--border--rule) solid transparent;transition:border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),top var(--wp--custom--motion--base) var(--wp--custom--motion--ease)}
.hf-header.is-scrolled{border-bottom-color:var(--wp--preset--color--rule)}
/* hidden while scrolling down (theme.js): moved by `top`, never transform — the fixed drawer and sticky bar are descendants and a transform would make the header their containing block */
.hf-header.is-hidden{top:calc(-1 * var(--wp--custom--size--nav-height) - 1px)}
.hf-header__bar{display:flex;align-items:center;gap:var(--wp--preset--spacing--07);height:var(--wp--custom--size--nav-height);max-width:var(--wp--custom--size--wide);margin:0 auto;padding:0 var(--wp--custom--size--gutter)}
.hf-header__logo{display:block;height:var(--wp--custom--component--logo--height);flex:0 0 auto;color:inherit;transform:translateY(var(--wp--custom--component--logo--optical-shift))}.hf-header__logo svg{height:var(--wp--custom--component--logo--height);width:auto;display:block}
.hf-nav{margin-left:auto}.hf-nav__list{list-style:none;margin:0;padding:0;display:flex;gap:var(--wp--custom--component--nav--gap)}
.hf-nav__link{appearance:none;background:none;border:0;padding:8px 0 6px;font:inherit;font-size:var(--wp--preset--font-size--nav);color:var(--wp--preset--color--heading);cursor:pointer;display:inline-flex;align-items:center;gap:4px;text-decoration:none;border-bottom:2px solid transparent}
.hf-nav__link:hover,.hf-nav__link[aria-expanded="true"],.hf-nav__link[aria-current]{border-bottom-color:var(--wp--preset--color--brand-blue);text-decoration:none}
.hf-nav__chevron{transition:transform var(--wp--custom--motion--fast)}.hf-nav__link[aria-expanded="true"] .hf-nav__chevron{transform:rotate(180deg)}
.hf-header__actions{display:flex;align-items:center;gap:var(--wp--preset--spacing--03);margin-left:var(--wp--preset--spacing--02)}
.hf-header__phone{white-space:nowrap}
.hf-header__burger{display:none;appearance:none;background:none;border:0;padding:8px;cursor:pointer;color:var(--wp--preset--color--heading)}
.hf-burger__close{display:none}.hf-header__burger[aria-expanded="true"] .hf-burger__open{display:none}.hf-header__burger[aria-expanded="true"] .hf-burger__close{display:block}
/* mega menu */
/* the search (component.search, Round 43): an icon button in the actions; a panel under the bar built like the mega; the same form is the drawer's first item on phones */
.hf-header__search{display:inline-flex;align-items:center;justify-content:center;width:var(--wp--custom--component--search--toggle-size);height:var(--wp--custom--component--search--toggle-size);padding:0;border:0;background:none;color:var(--wp--preset--color--heading);cursor:pointer;border-radius:0}.hf-header__search:hover,.hf-header__search[aria-expanded="true"]{color:var(--wp--preset--color--brand-blue)}.hf-header__search .hf-icon{width:var(--wp--custom--component--search--icon-size);height:var(--wp--custom--component--search--icon-size)}
.hf-search{position:absolute;left:0;right:0;top:100%;padding:var(--wp--custom--component--search--padding-y) var(--wp--custom--size--gutter);background:var(--wp--preset--color--white);border-top:var(--wp--custom--border--rule) solid var(--wp--preset--color--rule);border-bottom:var(--wp--custom--border--rule) solid var(--wp--preset--color--rule);box-shadow:var(--wp--custom--shadow--panel)}.hf-search[hidden]{display:none}
.hf-search-toggle__close{display:none}.hf-header__search[aria-expanded="true"] .hf-search-toggle__open{display:none}.hf-header__search[aria-expanded="true"] .hf-search-toggle__close{display:block} /* round 142: open = a close mark, as the burger */
.hf-search__inner{max-width:var(--wp--custom--component--search--max-width);margin:0 auto}.hf-search__heading{margin:0 0 var(--wp--custom--component--datasheet-shortcut--stack-form);font-size:var(--wp--preset--font-size--h-3);font-weight:500;color:var(--wp--preset--color--heading)} /* one line of context, no lead: a utility panel, not a band */.hf-search__form{display:flex;align-items:stretch}.hf-search__form .hf-input{flex:1;min-width:0}.hf-search__form .hf-button{margin-left:-1px}.hf-search__form .hf-search__submit--icon{justify-content:center;width:var(--wp--custom--component--control--height);padding-inline:0}.hf-search__submit--icon svg{flex:none}
.hf-search__try{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wp--custom--component--datasheet-shortcut--chip-gap) calc(var(--wp--custom--component--datasheet-shortcut--chip-gap) + 2px);margin:var(--wp--custom--component--datasheet-shortcut--stack-form) 0 0;font-size:var(--wp--preset--font-size--body-sm);color:var(--wp--preset--color--muted)}
.hf-search__more{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:var(--wp--custom--component--datasheet-shortcut--stack-line) 0 0;font-size:var(--wp--preset--font-size--body-sm);color:var(--wp--preset--color--muted)}.hf-search__sep{color:var(--wp--preset--color--rule)}
.hf-drawer__search{display:none}
.hf-mega{position:absolute;left:0;right:0;top:100%;background:var(--wp--preset--color--white);border-top:var(--wp--custom--border--rule) solid var(--wp--preset--color--rule);border-bottom:var(--wp--custom--border--rule) solid var(--wp--preset--color--rule);box-shadow:0 24px 40px -24px rgba(0,0,0,.18)}
.hf-mega__inner{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:var(--wp--custom--component--mega--column-gap);max-width:var(--wp--custom--size--wide);margin:0 auto;padding:var(--wp--custom--component--mega--padding-y) var(--wp--custom--size--gutter)}
.hf-mega--technical .hf-mega__inner{grid-template-columns:1fr 1fr 1.2fr}
#hf-mega-systems .hf-mega__inner:has(> .hf-mega__col:nth-child(4)){grid-template-columns:1.3fr 1fr 1fr 1fr 1.1fr} /* chemistry column on: five columns */
@media (max-width:1279px){#hf-mega-systems .hf-mega__inner:has(> .hf-mega__col:nth-child(4)){grid-template-columns:1.3fr 1fr 1fr 1fr}#hf-mega-systems .hf-mega__inner:has(> .hf-mega__col:nth-child(4)) .hf-mega__feature{display:none}} /* round 58: five routes leave no room for the featured project below 1280 */
.hf-mega__eyebrow{font-size:var(--wp--preset--font-size--caption);letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin:0 0 var(--wp--preset--spacing--05)}
.hf-mega__list{list-style:none;margin:0;padding:0;display:grid;gap:var(--wp--preset--spacing--03)}
.hf-mega__list a{display:flex;align-items:flex-start;gap:12px;color:var(--wp--preset--color--heading);font-size:var(--wp--preset--font-size--body);line-height:1.3}
.hf-mega__list a:hover{color:var(--wp--preset--color--brand-blue);text-decoration:none}
.hf-mega__list small{display:block;font-size:var(--wp--preset--font-size--caption);color:var(--wp--preset--color--muted);margin-top:2px}
.hf-mega__list--plain{gap:0}.hf-mega__list--plain a{font-size:var(--wp--preset--font-size--body-sm);padding:6px 0}
/* iconised rows — Dribbble / Stripe: tinted square · title · one-line description */
.hf-mega__list--tiles{gap:var(--wp--custom--component--mega--row-gap)}.hf-mega__list--tiles a{align-items:center;gap:14px;padding:2px 0}
.hf-mega__text{display:grid;gap:2px;min-width:0}.hf-mega__text strong{font-weight:500;font-size:var(--wp--preset--font-size--body);line-height:1.25}
.hf-mega__text small{margin:0;font-size:var(--wp--preset--font-size--caption);color:var(--wp--preset--color--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.hf-mega__all{margin-top:var(--wp--preset--spacing--02)}.hf-mega__muted{color:var(--wp--preset--color--caption);font-size:var(--wp--preset--font-size--body-sm)}
/* featured project card — Wise blog / Jasper mega promo slot: rule border, image to the edge, text padded below. Hover = techhub border + pcard paper surface + tile image zoom; never an underline, no shadow lift */
.hf-mega__feature{display:grid;align-content:start;align-self:start;border:var(--wp--custom--border--rule) solid var(--wp--preset--color--rule);background:var(--wp--custom--component--card--bg);color:var(--wp--preset--color--heading);text-decoration:none;overflow:hidden;transition:border-color var(--wp--custom--motion--fast),background-color var(--wp--custom--motion--fast)}
.hf-mega__feature:hover,.hf-mega__feature:focus-visible{border-color:var(--wp--preset--color--heading);background:var(--wp--custom--component--card--bg-hover);color:var(--wp--preset--color--heading);text-decoration:none}
.hf-mega__feature:focus-visible{outline:none;box-shadow:0 0 0 2px var(--wp--custom--color--action-focus)}
.hf-mega__feature-media{display:block;overflow:hidden;background:var(--wp--preset--color--panel)}
.hf-mega__feature-img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform var(--wp--custom--motion--slow) var(--wp--custom--motion--ease),opacity var(--wp--custom--motion--slow) var(--wp--custom--motion--ease)}
.hf-mega__feature:hover .hf-mega__feature-img,.hf-mega__feature:focus-visible .hf-mega__feature-img{transform:scale(1.03)}
.hf-mega__feature-body{display:grid;gap:6px;padding:var(--wp--preset--spacing--05)}
.hf-mega__feature-eyebrow{font-size:var(--wp--preset--font-size--caption);text-transform:uppercase;letter-spacing:.06em;color:var(--wp--preset--color--muted)}
.hf-mega__feature-title{font-size:var(--wp--preset--font-size--card);font-weight:500;line-height:1.25;transition:color var(--wp--custom--motion--fast)}.hf-mega__feature-meta{font-size:var(--wp--preset--font-size--body-sm);color:var(--wp--preset--color--muted)}
.hf-mega__feature-cta{display:inline-flex;align-items:center;gap:var(--wp--custom--component--link--gap);margin-top:4px;font-size:var(--wp--preset--font-size--caption);font-weight:500;color:var(--wp--preset--color--muted);transition:color var(--wp--custom--motion--fast)}
.hf-mega__feature-cta svg{transition:transform var(--wp--custom--motion--fast)}
.hf-mega__feature:hover .hf-mega__feature-title,.hf-mega__feature:hover .hf-mega__feature-cta,.hf-mega__feature:focus-visible .hf-mega__feature-title,.hf-mega__feature:focus-visible .hf-mega__feature-cta{color:var(--wp--preset--color--brand-blue)}
.hf-mega__feature:hover .hf-mega__feature-cta svg,.hf-mega__feature:focus-visible .hf-mega__feature-cta svg{transform:translateX(var(--wp--custom--component--link--nudge))}
/* drawer + sticky bar (mobile) */
.hf-drawer{display:none}.hf-sticky-bar{display:none}
@media (max-width:1023px){
  .hf-header__logo,.hf-header__logo svg{height:var(--wp--custom--component--logo--height-mobile)}
  .hf-nav,.hf-header__phone,.hf-header__actions .hf-button{display:none}.hf-header__burger{display:inline-flex}.hf-header__actions{margin-left:auto}
  /* round 142: phones search in the panel under the bar (the drawer's field, Round 85, is gone) — no heading; the list opens downwards and ends above the keyboard (theme.js sets --hf-suggest-max from visualViewport); the page underneath stays put */
  .hf-search{padding-top:var(--wp--preset--spacing--05);padding-bottom:var(--wp--preset--spacing--05);max-height:calc(100dvh - var(--wp--custom--size--nav-height));overflow:visible}
  .hf-search__heading{display:none}
  .hf-search .hf-suggest{max-height:var(--hf-suggest-max,50vh);overflow:auto;overscroll-behavior:contain}
  html.hf-search-open,html.hf-search-open body{overflow:hidden}
  html.hf-search-open .hf-sticky-bar{display:none} /* the Call / Contact bar would cover the foot of the list */
  .hf-drawer{display:block;position:fixed;inset:var(--wp--custom--size--nav-height) 0 0 0;background:var(--wp--preset--color--white);overflow:auto;padding:var(--wp--preset--spacing--06) var(--wp--custom--size--gutter) 120px;z-index:40}
  .hf-drawer[hidden]{display:none}.hf-drawer__list,.hf-drawer__list ul{list-style:none;margin:0;padding:0}
  .hf-drawer__list>li{border-bottom:1px solid var(--wp--preset--color--rule)}.hf-drawer__list>li>a{display:block;padding:16px 0;font-size:var(--wp--preset--font-size--h-3);color:var(--wp--preset--color--heading)}
  .hf-drawer__list ul{padding:0 0 12px 0}.hf-drawer__list ul a{display:block;padding:8px 0;color:var(--wp--preset--color--body)}
  .hf-drawer__list .hf-drawer__tiles a{display:flex;align-items:center;gap:12px;padding:6px 0;color:var(--wp--preset--color--heading)} /* scoped above `.hf-drawer__list ul a` (display:block), which had cancelled the flex row: tile and label now centre on one line, 12px apart */
  .hf-drawer__toggle{appearance:none;display:flex;justify-content:space-between;align-items:center;width:100%;margin:0;padding:16px 0;border:0;background:none;font:inherit;font-size:var(--wp--preset--font-size--h-3);color:var(--wp--preset--color--heading);text-align:left;cursor:pointer}
  .hf-drawer__chevron{flex:none;transition:transform var(--wp--custom--motion--fast)}.hf-drawer__toggle[aria-expanded="true"] .hf-drawer__chevron{transform:rotate(180deg)}
  .hf-drawer__list .hf-drawer__all a{display:inline-flex;padding:10px 0 4px}
  .hf-drawer__social{display:flex;align-items:center;gap:var(--wp--preset--spacing--04);padding:var(--wp--preset--spacing--05) 0;color:var(--wp--preset--color--heading)}.hf-drawer__social-label{font-size:var(--wp--preset--font-size--caption);letter-spacing:.06em;text-transform:uppercase;line-height:1;color:var(--wp--preset--color--muted)}.hf-drawer__social .hf-social{flex:1 1 auto;min-width:0;row-gap:0}.hf-drawer__social .hf-social a{padding:11px} /* 44px targets; more channels wrap to a second row (round 103) */
  .hf-sticky-bar{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;padding:10px var(--wp--custom--size--gutter) max(10px,env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--wp--preset--color--rule);z-index:45}
  .hf-sticky-bar .hf-button{justify-content:center}
}
