/* ToJestDom RC272 — header alignment, smaller menu, motto image */
html,body{margin-top:0!important;padding-top:0!important;background:#fff!important}
main,.hero,.section,.projectHero{background:#fff!important}
.topbar{
  background:
    radial-gradient(circle at 84% -30%,rgba(60,171,255,.22),transparent 34%),
    radial-gradient(circle at 22% -85%,rgba(66,169,255,.12),transparent 38%),
    linear-gradient(90deg,#041326 0%,#072341 52%,#092d50 100%)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.12), 0 10px 26px rgba(2,12,24,.16)!important;
}
.topbar:after{
  height:1px;
  background:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
.topbar .wrap.nav{
  justify-content:flex-start!important;
  align-items:flex-end!important;
  gap:0!important;
  height:78px!important;
  padding:0 clamp(18px,2.8vw,40px) 10px!important;
}
.brand.brandLogo{
  margin-right:0!important;
  align-self:flex-end!important;
  width:178px!important;
  height:52px!important;
}
.brand.brandLogo img{
  width:178px!important;
  max-height:52px!important;
  object-position:left bottom!important;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.18));
}
.topbar .navlinks{
  margin-left:46px!important;
  margin-right:0!important;
  gap:clamp(18px,1.75vw,30px)!important;
  font-size:15px!important;
  font-weight:600!important;
  letter-spacing:.01em;
}
.topbar .navlinks a{
  padding-bottom:2px!important;
  opacity:.96!important;
}
.topbar .navlinks a:after{bottom:-9px!important}
.headerMotto{
  display:flex;
  align-items:flex-end;
  margin-left:28px;
  margin-right:22px;
  padding-bottom:2px;
  flex:0 0 auto;
  opacity:.98;
}
.headerMotto img{
  display:block;
  height:21px;
  width:auto;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.16));
}
.topbar .navcta{
  margin-left:auto!important;
  min-height:44px!important;
  padding:0 22px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#279df0 0%,#3eb2ff 100%)!important;
  box-shadow:0 10px 22px rgba(23,137,224,.24), inset 0 1px 0 rgba(255,255,255,.18)!important;
}
body:not([data-project-slug]) .hero{
  padding-top:22px!important;
}
.hero .wrap.heroGrid,
.section .wrap,
.projectHero .wrap,
.footer .wrap{
  max-width:1500px!important;
}
@media (max-width:1280px){
  .headerMotto{display:none!important}
  .topbar .navlinks{margin-left:34px!important}
}
@media (max-width:980px){
  .topbar .wrap.nav{
    height:72px!important;
    padding:0 18px 8px!important;
  }
  .brand.brandLogo,
  .brand.brandLogo img{width:162px!important;max-height:46px!important;height:46px!important}
  .topbar .navlinks{display:none!important}
  .headerMotto{display:none!important}
  .topbar .navcta{margin-left:auto!important;min-height:40px!important;padding:0 16px!important;font-size:12px!important}
}
@media (max-width:650px){
  .topbar .wrap.nav{height:64px!important;padding:0 14px 7px!important}
  .brand.brandLogo,
  .brand.brandLogo img{width:146px!important;max-height:42px!important;height:42px!important}
}
