/* Web Ing Solutions */

.peproj{
  --peproj-accent:#0b7cff;
  --peproj-content:38%;
  --peproj-mobile-media-h:300px;
  width:100%;
  padding:72px 34px;
  color:#071b3b;
  overflow:hidden;
}

.peproj,
.peproj *{
  box-sizing:border-box;
}

.peproj__inner{
  width:100%;
  max-width:1540px;
  margin:0 auto;
}

.peproj__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);
  gap:48px;
  align-items:end;
  margin-bottom:34px;
}

.peproj__eyebrow{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:13px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.peproj__eyebrow span{
  width:34px;
  height:2px;
  flex:0 0 34px;
  background:var(--peproj-accent);
}

.peproj__title{
  margin:0;
  font-size:clamp(40px,3.5vw,54px);
  line-height:1.05;
  letter-spacing:-.04em;
  text-wrap:balance;
}

.peproj__intro{
  margin:0;
  max-width:620px;
  font-size:15px;
  line-height:1.65;
  text-wrap:pretty;
}

.peproj__stage{
  position:relative;
  width:100%;
  overflow:hidden;
  isolation:isolate;
  background:#eef2f6;
}

.peproj__slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:var(--peproj-content) minmax(0,1fr);
  min-height:560px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(26px,0,0);
  transition:
    opacity .42s ease,
    transform .58s cubic-bezier(.2,.7,.2,1),
    visibility 0s linear .58s;
}

.peproj__slide.is-active{
  position:relative;
  inset:auto;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate3d(0,0,0);
  transition-delay:0s;
  z-index:2;
}

.peproj[data-direction="-1"] .peproj__slide:not(.is-active){
  transform:translate3d(-26px,0,0);
}

.peproj__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2;
  padding:54px 46px;
}

.peproj__content::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:linear-gradient(
    180deg,
    var(--peproj-accent),
    rgba(11,124,255,.08)
  );
  pointer-events:none;
}

.peproj__sector{
  margin-bottom:18px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.peproj__project-title{
  margin:0 0 18px;
  font-size:clamp(34px,3vw,46px);
  line-height:1.06;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.peproj__description{
  margin:0;
  font-size:16px;
  line-height:1.65;
  text-wrap:pretty;
}

.peproj__meta{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.18);
  font-size:12px;
  font-weight:650;
  line-height:1.6;
  letter-spacing:.03em;
}

.peproj__link{
  display:inline-flex;
  align-items:center;
  gap:16px;
  align-self:flex-start;
  margin-top:26px;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:transform .22s ease;
}

.peproj__link svg{
  width:18px;
  height:18px;
  transition:transform .22s ease;
}

.peproj__media{
  min-width:0;
  position:relative;
  overflow:hidden;
  background:#e7eef5;
}

.peproj__media picture,
.peproj__media img{
  display:block;
  width:100%;
  height:100%;
}

.peproj__media img{
  object-fit:cover;
  object-position:var(--peproj-pos-x,50%) var(--peproj-pos-y,50%);
  filter:saturate(.96) contrast(1.03);
  transform:scale(1.001);
  transition:
    transform .9s cubic-bezier(.2,.7,.2,1),
    filter .45s ease;
}

.peproj__slide.is-active .peproj__media img{
  transform:scale(1.015);
}

.peproj__media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(8,45,85,.10),transparent 24%);
}

.peproj__placeholder{
  width:100%;
  height:100%;
  min-height:440px;
  display:grid;
  place-items:center;
  padding:36px;
  background:linear-gradient(135deg,#e7edf4,#dce6ef);
}

.peproj__placeholder span{
  max-width:22ch;
  color:rgba(7,27,59,.34);
  font-size:clamp(20px,2vw,32px);
  line-height:1.05;
  font-weight:700;
  letter-spacing:-.03em;
  text-align:center;
}

.peproj__footer{
  display:flex;
  gap:24px;
  justify-content:space-between;
  align-items:flex-end;
  margin-top:18px;
}

.peproj__thumbs{
  display:flex;
  gap:12px;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  padding:2px 1px 5px;
}

.peproj__thumbs::-webkit-scrollbar{
  display:none;
}

.peproj__thumb{
  width:180px;
  flex:0 0 auto;
  scroll-snap-align:start;
  padding:0;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
}

.peproj__thumb-media{
  display:block;
  position:relative;
  width:100%;
  height:104px;
  overflow:hidden;
  background:#e7edf4;
  border:2px solid transparent;
  transition:
    border-color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.peproj__thumb-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.86);
  transition:
    filter .22s ease,
    transform .35s ease;
}

.peproj__thumb-placeholder{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  padding:10px;
  background:linear-gradient(135deg,#e7edf4,#dce6ef);
}

.peproj__thumb-placeholder span{
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  color:rgba(7,27,59,.36);
  font-size:10px;
  line-height:1.25;
  font-weight:700;
  text-align:center;
}

.peproj__thumb-title{
  display:block;
  margin-top:7px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:700;
}

.peproj__thumb.is-active .peproj__thumb-media{
  border-color:var(--peproj-accent);
  box-shadow:0 8px 22px rgba(7,27,59,.08);
}

.peproj__thumb.is-active .peproj__thumb-media img{
  filter:saturate(1);
}

.peproj__nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
}

.peproj__counter{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:650;
}

.peproj__counter b{
  font-size:14px;
}

.peproj__arrows{
  display:flex;
  gap:9px;
}

.peproj__arrow{
  width:44px;
  height:44px;
  border:1px solid rgba(7,27,59,.12);
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.peproj__arrow svg{
  width:19px;
  height:19px;
}

.peproj__arrow:disabled{
  opacity:.35;
  cursor:default;
}

.peproj__arrow:focus-visible,
.peproj__thumb:focus-visible,
.peproj__link:focus-visible{
  outline:2px solid var(--peproj-accent);
  outline-offset:3px;
}

@media(hover:hover){
  .peproj__link:hover{
    transform:translateY(-1px);
  }

  .peproj__link:hover svg{
    transform:translateX(4px);
  }

  .peproj__thumb:hover .peproj__thumb-media{
    transform:translateY(-3px);
    box-shadow:0 10px 26px rgba(7,27,59,.08);
  }

  .peproj__thumb:hover img{
    filter:saturate(1);
    transform:scale(1.025);
  }

  .peproj__arrow:hover:not(:disabled){
    transform:translateY(-2px);
    border-color:rgba(11,124,255,.35);
    box-shadow:0 8px 22px rgba(7,27,59,.08);
  }
}

@media(max-width:1024px){
  .peproj{
    padding:56px 28px;
  }

  .peproj__head{
    grid-template-columns:1fr;
    gap:14px;
  }

  .peproj__slide{
    grid-template-columns:44% 56%;
    min-height:500px;
  }

  .peproj__content{
    padding:42px 32px;
  }

  .peproj__thumb{
    width:150px;
  }

  .peproj__thumb-media{
    height:92px;
  }
}

@media(max-width:767px){
  .peproj{
    padding:44px 18px;
  }

  .peproj__head{
    margin-bottom:26px;
  }

  .peproj__title{
    font-size:38px;
  }

  .peproj__slide{
    grid-template-columns:1fr;
    min-height:0;
    transform:translate3d(18px,0,0);
  }

  .peproj__slide.is-active{
    display:flex;
    flex-direction:column;
  }

  .peproj[data-direction="-1"] .peproj__slide:not(.is-active){
    transform:translate3d(-18px,0,0);
  }

  .peproj__media{
    order:1;
    height:var(--peproj-mobile-media-h);
  }

  .peproj__content{
    order:2;
    padding:34px 22px 36px;
  }

  .peproj__project-title{
    font-size:36px;
  }

  .peproj__placeholder{
    min-height:var(--peproj-mobile-media-h);
  }

  .peproj__footer{
    align-items:center;
  }

  .peproj:not(.peproj--mobile-thumbs) .peproj__thumbs{
    display:none;
  }

  .peproj.peproj--mobile-thumbs .peproj__thumbs{
    max-width:calc(100% - 112px);
  }

  .peproj__nav{
    width:100%;
    justify-content:space-between;
  }

  .peproj.peproj--mobile-thumbs .peproj__nav{
    width:auto;
    flex:0 0 auto;
  }

  .peproj__arrow{
    width:42px;
    height:42px;
  }
}

@media(prefers-reduced-motion:reduce){
  .peproj *,
  .peproj *::before,
  .peproj *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}
