/* About / Services / Technology menus - bright, layered, precise. */
.shock-header .navbar .navbar-nav .dropdown-menu.megamenu.gt-mega{background:transparent !important;border:0 !important;box-shadow:none !important}
.gt-mega .container{background:transparent !important}
.shock-header .gt-mega .section-inner-expanded{--mx:50%;--my:-200px;position:relative;isolation:isolate;overflow:hidden;border-radius:26px;padding:14px !important;
  background:#fff !important;border:1px solid rgba(23,22,60,.07);
  box-shadow:0 2px 6px rgba(13,12,40,.06),0 30px 60px -18px rgba(13,12,48,.34),0 70px 120px -50px rgba(70,40,190,.45)}
/* a thin line of colour along the top edge */
.gt-mega .section-inner-expanded::before{content:"";position:absolute;z-index:2;left:26px;right:26px;top:0;height:2px;border-radius:2px;
  background:linear-gradient(90deg,transparent,#7c3aed 22%,#06b6d4 50%,#ec4899 78%,transparent);background-size:200% 100%;animation:gtmLine 7s ease-in-out infinite alternate}
@keyframes gtmLine{to{background-position:100% 0}}
.gt-mega .section-inner-expanded::after{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(380px circle at var(--mx) var(--my),rgba(124,58,237,.085),rgba(6,182,212,.04) 45%,transparent 70%)}

.gt-mega .section-inner-expanded>.row{--bs-gutter-x:0;--bs-gutter-y:0;margin:0;align-items:stretch}
.gt-mega .section-inner-expanded>.row>[class*="col-"]{padding:0}
.gt-mega .megamenu-item{height:100%;margin:0;padding:12px 8px 6px}
.shock-header .gt-mega .megamenu-item .title{display:block;margin:0 !important;padding:0 12px 12px !important;border:0 !important;background:none !important;
  font-size:11.5px !important;font-weight:800 !important;font-style:normal !important;letter-spacing:.16em;text-transform:uppercase;color:#8a8fa8 !important;-webkit-text-fill-color:#8a8fa8}
.gt-mega .megamenu-item .title::before,.gt-mega .megamenu-item .title::after{display:none !important}
.gt-mega .row .row{margin:0}
.gt-mega .row .row>[class*="col-"]{padding:0}
.gt-mega .row .row>[class*="col-"]:only-child{flex:0 0 100%;width:100%;max-width:100%}
.gt-mega .row .row .megamenu-item{padding:0}

/* one colour family per column */
.gt-mega .section-inner-expanded>.row>[class*="col-"]:nth-child(1){--t1:#7c3aed;--t2:#a855f7;--ts:#f3eeff}
.gt-mega .section-inner-expanded>.row>[class*="col-"]:nth-child(2){--t1:#2563eb;--t2:#06b6d4;--ts:#eaf4ff}
.gt-mega .section-inner-expanded>.row>[class*="col-"]:nth-child(3){--t1:#e11d74;--t2:#fb8c3c;--ts:#fff0f4}
.gt-mega .section-inner-expanded>.row>[class*="col-"]:nth-child(4){--t1:#059669;--t2:#22c3b5;--ts:#e9faf4}

/* links */
.shock-header .navbar .navbar-nav .gt-mega .nav-list>li{width:100%;margin:0}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a{position:relative;display:flex !important;align-items:center;gap:13px;width:100%;margin:0 !important;padding:8px 12px !important;
  border-radius:15px;white-space:normal !important;text-align:left;text-decoration:none;background:transparent !important;transition:background-color .25s ease,box-shadow .35s ease}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a::before{display:none !important}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a::after{content:none !important}
.gtm-body{display:block;flex:1 1 auto;min-width:0}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a .text{display:block;background:none !important;-webkit-background-clip:border-box !important;background-clip:border-box !important;
  font-size:14.5px;font-weight:800;line-height:1.3;white-space:normal !important;color:#141833 !important;-webkit-text-fill-color:#141833 !important;opacity:1 !important}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a .text::before,.shock-header .navbar .navbar-nav .gt-mega .nav-list a .text::after{display:none !important}
.gtm-desc{display:block;margin-top:2px;font-size:12.5px;font-weight:400;line-height:1.35;color:#636a85}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a[href]:hover,.shock-header .navbar .navbar-nav .gt-mega .nav-list a[href]:focus-visible{background:var(--ts,#f3eeff) !important;outline:0;
  box-shadow:0 14px 26px -20px var(--t1,#7c3aed)}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a:focus-visible{box-shadow:0 0 0 2px var(--t1,#7c3aed)}
.shock-header .navbar .navbar-nav .gt-mega .nav-list a[href]:hover .text,.shock-header .navbar .navbar-nav .gt-mega .nav-list a[href]:focus-visible .text{color:var(--t1) !important;-webkit-text-fill-color:var(--t1) !important}

/* technology names: compact, with a lettered tile */
.shock-header .navbar .navbar-nav .gt-mega-tech .nav-list a{gap:10px;padding:6px 10px !important}
.gt-mega-tech .gtm-plain{cursor:default}
.shock-header .navbar .navbar-nav .gt-mega-tech .nav-list a .text{font-size:14px;font-weight:700}

/* feature panel with the key */
.gtm-feature{position:relative;overflow:hidden;display:flex;flex-direction:column;height:100%;padding:18px 20px 20px;border-radius:19px;text-align:left;
  background:radial-gradient(90% 60% at 100% 0%,rgba(6,182,212,.20),transparent 70%),radial-gradient(90% 60% at 0% 100%,rgba(236,72,153,.17),transparent 70%),linear-gradient(160deg,#f4f0ff,#eef8fb);
  box-shadow:inset 0 0 0 1px rgba(99,70,200,.10)}
.gtm-feature-col>.megamenu-item{padding:0 0 0 8px}
.gtm-key{position:relative;flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:150px}

.gtm-feature-copy strong{display:block;font-size:17px;font-weight:800;line-height:1.3;letter-spacing:-.01em;color:#15183a}
.shock-header .gt-mega .gtm-feature-copy p{margin:7px 0 14px;font-size:13px;line-height:1.55;color:#555c7a;text-align:left}
.shock-header .navbar .navbar-nav .gt-mega a.gtm-cta{display:inline-flex !important;align-items:center;gap:8px;padding:11px 20px !important;border-radius:40px;font-size:13.5px;font-weight:800;line-height:1.2;
  color:#fff !important;-webkit-text-fill-color:#fff;text-decoration:none;background:linear-gradient(100deg,#6d28d9,#2563eb 55%,#0891b2) !important;background-size:160% 100% !important;
  box-shadow:0 14px 26px -14px rgba(79,40,210,.9);transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s,background-position .6s}
.gtm-cta::after{content:"\2192";transition:transform .35s cubic-bezier(.16,1,.3,1)}
.shock-header .navbar .navbar-nav .gt-mega a.gtm-cta:hover{background-position:100% 0 !important;transform:translateY(-2px)}
.gtm-cta:hover::after{transform:translateX(4px)}
.gtm-feature-wide{display:block;height:auto;margin-top:8px;padding:14px 20px}
.gtm-feature-wide .gtm-feature-copy{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.shock-header .gt-mega .gtm-feature-wide .gtm-feature-copy p{flex:1 1 240px;margin:0}

@media (min-width:992px){
  .gt-mega .section-inner-expanded{max-height:calc(100vh - 140px);overflow-x:hidden;overflow-y:auto}
  .gt-mega .section-inner-expanded>.row{display:grid}
  .gt-mega .section-inner-expanded>.row>[class*="col-"]{width:auto;max-width:none}
  .gt-mega-about .section-inner-expanded>.row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(250px,.9fr)}
  .gt-mega-services .section-inner-expanded>.row{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(215px,.82fr)}
  .gt-mega-tech .section-inner-expanded>.row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr)}
  .gt-mega .section-inner-expanded>.row>[class*="col-"]+[class*="col-"]:not(.gtm-feature-col){border-left:1px solid #eef0f7}
  /* the items follow each other in as the panel opens */
  .dropdown.hover:hover>.gt-mega .nav-list>li,.gt-mega.show .nav-list>li{animation:gtmIn .5s cubic-bezier(.2,.8,.2,1) both}
  .gt-mega .nav-list>li:nth-child(2){animation-delay:.035s !important}.gt-mega .nav-list>li:nth-child(3){animation-delay:.07s !important}
  .gt-mega .nav-list>li:nth-child(4){animation-delay:.105s !important}.gt-mega .nav-list>li:nth-child(5){animation-delay:.14s !important}
  .gt-mega .nav-list>li:nth-child(6){animation-delay:.175s !important}.gt-mega .nav-list>li:nth-child(n+7){animation-delay:.21s !important}
}
/* narrower desktops: the words matter more than the extra line */
@media (min-width:992px) and (max-width:1279.98px){
  .gtm-desc{display:none}
  .shock-header .navbar .navbar-nav .gt-mega .nav-list a{gap:10px;padding:7px 8px !important}
  .shock-header .navbar .navbar-nav .gt-mega .nav-list a .text{font-size:13.5px}
  .gt-mega-services .section-inner-expanded>.row{grid-template-columns:repeat(3,minmax(0,1fr)) 200px}
}
@keyframes gtmIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media (max-width:991.98px){
  .gt-mega .container{padding:0 !important}
  .shock-header .gt-mega .section-inner-expanded{margin:6px 0 12px;padding:6px !important;border-radius:18px;box-shadow:0 14px 30px -18px rgba(13,12,48,.35)}
  .gt-mega .megamenu-item{padding:12px 4px 4px}
  .gt-mega .gtm-feature-col{display:none}
  .gtm-desc{font-size:12px}
  .gtm-feature-wide{padding:14px}
}
@media (prefers-reduced-motion:reduce){.gt-mega *,.gt-mega *::before{animation:none !important}}

/* the theme's grid gutter must not push the columns down */
.shock-header .gt-mega .row,.shock-header .gt-mega .row>[class*="col-"]{margin-top:0 !important}
@media (min-width:992px){.shock-header .gt-mega .section-inner-expanded>.row{margin:0 !important}}
@media (max-width:991.98px){
  .shock-header .navbar .navbar-nav .gt-mega .nav-list{margin:0 !important;padding:0 !important}
  .shock-header .navbar .navbar-nav .gt-mega .row .row,.shock-header .navbar .navbar-nav .gt-mega .row .row>[class*="col-"]{margin-left:0 !important;margin-right:0 !important;padding-left:0 !important;padding-right:0 !important}
}


/* ---------- icons: no boxes - a fine two-tone line in ink, colour only when pointed at ---------- */
@font-face{font-family:"gtm-solid";font-weight:900;font-style:normal;font-display:block;src:url(../fonts/font-awesome/fa-solid-900.woff2) format("woff2")}
@font-face{font-family:"gtm-brands";font-weight:400;font-style:normal;font-display:block;src:url(../fonts/font-awesome/fa-brands-400.woff2) format("woff2")}
.gtm-ico{flex:0 0 30px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:none;border:0;box-shadow:none;color:#262b4d;
  transition:color .3s ease,transform .45s cubic-bezier(.16,1,.3,1)}
.gtm-ico svg{width:27px;height:27px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.gtm-ico svg .d{fill:var(--t1,#7c3aed);fill-opacity:.13;transition:fill-opacity .35s}
.gtm-ico svg .f{fill:var(--t1,#7c3aed);fill-opacity:.13;stroke:none;transition:fill-opacity .35s}
.gt-mega i.gtm-glyph{display:block;font-family:"gtm-solid" !important;font-weight:900 !important;font-style:normal !important;line-height:1;-webkit-font-smoothing:antialiased}
.gt-mega i.gtm-glyph.gtm-brand{font-family:"gtm-brands" !important;font-weight:400 !important}
.gt-mega-services .gtm-ico i.gtm-glyph.gtm-brand{font-size:26px}
.gt-mega .nav-list a[href]:hover .gtm-ico,.gt-mega .nav-list a[href]:focus-visible .gtm-ico{color:var(--t1,#7c3aed);transform:translateY(-1px) scale(1.07)}
.gt-mega .nav-list a:hover .gtm-ico svg .d,.gt-mega .nav-list a:hover .gtm-ico svg .f{fill-opacity:.22}
/* the lines draw themselves again under the pointer */
.gt-mega .nav-list a:hover .gtm-ico svg>*:not(.f){stroke-dasharray:1 0;animation:gtmDraw .75s cubic-bezier(.6,0,.2,1) both}
@keyframes gtmDraw{from{stroke-dasharray:0 1}to{stroke-dasharray:1 0}}

/* technologies: the marks in ink, each turning to its own colour */
.gt-mega-tech .gtm-ico{flex-basis:26px;width:26px;height:30px;color:#3b4163}
.gt-mega-tech .gtm-ico svg{width:22px;height:22px;stroke-width:1.45}
.gt-mega-tech .gtm-ico svg .d{fill:currentColor;fill-opacity:.1}
.gt-mega-tech .gtm-ico i.gtm-glyph{font-size:20px}
.gt-mega-tech .gtm-word{font-size:10.5px;font-weight:900;line-height:1;letter-spacing:-.02em}
.gt-mega-tech .nav-list a:hover .gtm-ico,.gt-mega-tech .gtm-plain:hover .gtm-ico{color:var(--brand,#4f46e5) !important;transform:scale(1.14)}
@media (min-width:992px) and (max-width:1279.98px){
  .gtm-ico{flex-basis:24px;width:24px}
  .gtm-ico svg{width:22px;height:22px;stroke-width:1.45}
  .gt-mega-services .gtm-ico i.gtm-glyph.gtm-brand{font-size:21px}
  .gt-mega-tech .gtm-ico{flex-basis:22px;width:22px}
  .gt-mega-tech .gtm-ico i.gtm-glyph{font-size:17px}
}
@media (prefers-reduced-motion:reduce){.gt-mega .nav-list a:hover .gtm-ico svg>*{animation:none !important}}

/* two tones: the outline in ink, the heart of each icon in its column's colour */
.gt-mega-about .gtm-ico svg,.gt-mega-services .gtm-ico svg{width:28px;height:28px;stroke-width:1.4}
.gt-mega-about .gtm-ico svg .d,.gt-mega-services .gtm-ico svg .d{stroke:var(--t1,#7c3aed);fill:var(--t2,#a855f7);fill-opacity:.16}
@media (min-width:992px) and (max-width:1279.98px){.gt-mega-about .gtm-ico svg,.gt-mega-services .gtm-ico svg{width:23px;height:23px;stroke-width:1.5}}
@media (min-width:992px) and (max-width:1279.98px){.shock-header .navbar .navbar-nav .gt-mega a.gtm-cta{white-space:nowrap;align-self:flex-start;padding:10px 15px !important;font-size:12.5px;gap:6px}}

/* ---------- the visiting-card key ---------- */
.gtm-lk{position:relative;display:block;width:70px;height:171px;filter:drop-shadow(0 12px 14px rgba(60,40,150,.24))}
.gtm-lk-key{position:absolute;inset:0;display:block;transform-origin:50% 100%}
.gtm-lk-key>i{position:absolute;inset:0;display:block;
  background:linear-gradient(165deg,#6d28d9 0%,#2563eb 20%,#06b6d4 38%,#10b981 52%,#06b6d4 66%,#2563eb 82%,#6d28d9 100%);background-size:100% 320%;
  -webkit-mask:url(../gt-img/gt-key-mask.png) center/contain no-repeat;mask:url(../gt-img/gt-key-mask.png) center/contain no-repeat;animation:gtmKeyColour 7s linear infinite alternate}
@keyframes gtmKeyColour{from{background-position:50% 0}to{background-position:50% 100%}}
.gtm-lk.pre .gtm-lk-key{opacity:0}
.gtm-lk.drop .gtm-lk-key{animation:gtmGlitch 1.1s steps(1,end) both}
.gtm-lk.out .gtm-lk-key{animation:gtmKeyOut .7s cubic-bezier(.4,0,1,1) both}
/* same timing and cuts as on the card; the colour fringes are chosen to show on a light panel */
@keyframes gtmGlitch{0%{opacity:0;transform:translate(0,-40%)}
  8%{opacity:1;transform:translate(7%,-34%);clip-path:inset(0 0 62% 0);filter:drop-shadow(4px 0 #ec4899) drop-shadow(-4px 0 #22d3ee)}
  16%{transform:translate(-6%,-22%);clip-path:inset(40% 0 20% 0)}
  24%{transform:translate(4%,-14%);clip-path:inset(10% 0 55% 0);filter:drop-shadow(-5px 0 #22d3ee)}
  32%{opacity:.2;transform:translate(0,-8%);clip-path:inset(0)}
  40%{opacity:1;transform:translate(-3%,-4%);clip-path:inset(65% 0 0 0);filter:drop-shadow(5px 0 #22d3ee) drop-shadow(-3px 0 #ec4899)}
  50%{transform:translate(2%,0);clip-path:inset(0 0 30% 0)}
  60%{transform:translate(0,0);clip-path:inset(0);filter:drop-shadow(3px 0 #ec4899)}
  70%{transform:translate(-1%,0);filter:none}
  78%,100%{opacity:1;transform:none;clip-path:inset(0);filter:none}}
@keyframes gtmKeyOut{to{opacity:0;filter:blur(3px);transform:translateY(-6%)}}
@media (min-width:992px) and (max-width:1279.98px){.gtm-lk{width:62px;height:152px}}
@media (prefers-reduced-motion:reduce){.gtm-lk-key,.gtm-lk-key>i{animation:none !important}}
