/* Upfront v4 shared chrome: the header (with Services and Industries menus), the footer and pill buttons.
   Loaded by the homepage and every service, industry and blog page, so the whole site reads as one product.
   Class names are prefixed (n4-, f4-, bt) so they never collide with the older page templates. */
.nav4,.foot4{--n4-k0:#07080C;--n4-kl:rgba(255,255,255,.08);--n4-kl2:rgba(255,255,255,.14);--n4-kt:#F5F7FA;--n4-ks:#A3ABBA;--n4-km:#6F7889;
  --n4-font:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--n4-display:"Inter Tight","Inter",system-ui,sans-serif;font-family:var(--n4-font)}
.n4-w{max-width:1200px;margin-inline:auto;padding-inline:clamp(16px,4vw,40px);box-sizing:border-box}
.nav4 *,.foot4 *{box-sizing:border-box}

/* pill buttons */
.bt{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;border:1px solid transparent;font:500 .875rem/1 var(--n4-font,"Inter",system-ui,sans-serif);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
.bt-lg{height:48px;padding:0 24px;font-size:1rem}
.bt-w{background:#fff;color:#07080C}.bt-w:hover{background:#E6E9EE}
.bt-g{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#F5F7FA}.bt-g:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.24)}
.bt-a{background:#FFB627;color:#0A0B0F;font-weight:600}.bt-a:hover{background:#F5A300}
.bt-o{background:#fff;border-color:#E6E8EC;color:#0A0B0F}.bt-o:hover{border-color:#C5CAD3}

/* header */
.nav4{position:sticky;top:0;z-index:60;background:rgba(7,8,12,.86);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid var(--n4-kl);color:var(--n4-kt)}
.nav4 .n4-w{display:flex;align-items:center;justify-content:space-between;gap:24px;height:64px}
.n4-logo{display:inline-flex;align-items:center;gap:8px;color:var(--n4-kt,#F5F7FA);text-decoration:none;font:600 1.125rem/1 var(--n4-display);letter-spacing:-.02em}
.n4-logo svg{width:28px;height:28px}
.n4-links{display:flex;align-items:center;gap:4px}
.n4-links>a,.n4-ddb{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 12px;border:0;border-radius:8px;background:none;color:var(--n4-ks);font:500 .875rem/1 var(--n4-font);text-decoration:none;cursor:pointer;transition:color .15s,background-color .15s}
.n4-links>a:hover,.n4-ddb:hover,.n4-ddb[aria-expanded=true]{color:var(--n4-kt);background:rgba(255,255,255,.05)}
.n4-ddb svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.n4-ddb[aria-expanded=true] svg{transform:rotate(180deg)}
.n4-dd{position:relative}
.n4-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:70;min-width:320px;padding:8px;border-radius:16px;border:1px solid var(--n4-kl2);background:#0D0F15;box-shadow:0 24px 64px -16px rgba(0,0,0,.8);display:none}
.n4-dd.open .n4-panel{display:block}
@media (hover:hover) and (min-width:961px){.n4-dd:hover .n4-panel,.n4-dd:focus-within .n4-panel{display:block}.n4-dd:hover .n4-ddb{color:var(--n4-kt)}}
.n4-panel::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.n4-wide{display:none;width:min(820px,calc(100vw - 48px));left:-120px}
.n4-dd.open .n4-wide{display:grid}
@media (hover:hover) and (min-width:961px){.n4-dd:hover .n4-wide,.n4-dd:focus-within .n4-wide{display:grid}}
.n4-wide{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.n4-h{margin:8px 12px 4px;font:600 .6875rem/1 var(--n4-font);letter-spacing:.08em;text-transform:uppercase;color:var(--n4-km)}
.n4-panel a{display:block;padding:10px 12px;border-radius:10px;text-decoration:none;color:var(--n4-kt);font:400 .875rem/1.4 var(--n4-font)}
.n4-panel a:hover{background:rgba(255,255,255,.06)}
.n4-panel b{display:block;font-size:.875rem;font-weight:600}
.n4-panel span{display:block;margin-top:2px;font-size:.8125rem;color:var(--n4-ks)}
.n4-r{display:flex;align-items:center;gap:16px}
.n4-tel{color:var(--n4-ks);text-decoration:none;font:400 .875rem/1 var(--n4-font);font-variant-numeric:tabular-nums}
.n4-tel:hover{color:var(--n4-kt)}
.n4-burger{display:none;width:40px;height:40px;border-radius:10px;border:1px solid var(--n4-kl2);background:rgba(255,255,255,.04);color:var(--n4-kt);cursor:pointer;place-items:center}
.n4-burger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.n4-m{border-top:1px solid var(--n4-kl);padding:8px clamp(16px,4vw,40px) 24px;max-height:calc(100dvh - 64px);overflow-y:auto}
.n4-m a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--n4-kl);color:var(--n4-kt);text-decoration:none;font:400 1rem/1.4 var(--n4-font)}
.n4-m a span{color:var(--n4-ks);font-size:.875rem}
.n4-m .n4-h{margin:24px 0 4px}
.nav4 :focus-visible,.foot4 :focus-visible{outline:2px solid #FFB627;outline-offset:2px;border-radius:6px}
@media (max-width:960px){.n4-links{display:none}.n4-burger{display:grid}}
@media (min-width:961px){.n4-m{display:none!important}}
@media (max-width:560px){.n4-tel{display:none}.nav4 .n4-r .bt{height:36px;padding:0 12px}}

/* footer */
.foot4{background:var(--n4-k0);color:var(--n4-ks);border-top:1px solid var(--n4-kl);font-size:.875rem;line-height:1.6;padding:0;margin:0}
.foot4 li{margin:0}
.foot4 a{font:inherit}
.f4-grid{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:32px;padding-block:64px 40px}
.f4-brand p{margin:16px 0 0;max-width:32ch}
.foot4 h4{margin:0 0 16px;font:600 .75rem/1 var(--n4-font);letter-spacing:.08em;text-transform:uppercase;color:var(--n4-kt)}
.foot4 ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot4 a{color:var(--n4-ks);text-decoration:none}
.foot4 a:hover{color:var(--n4-kt)}
.foot4 .n4-logo{color:var(--n4-kt)}
.f4-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-block:24px;border-top:1px solid var(--n4-kl);color:var(--n4-km)}
@media (max-width:960px){.f4-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.f4-brand{grid-column:1/-1}}
@media (max-width:420px){.f4-grid{grid-template-columns:minmax(0,1fr)}}
