/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.mwd-hero {
  background-color: #AC9784;
}
@media only screen and (min-width:800px) {
  .mwd-hero-content {
    width: 52%;
    max-width: 550px;
  }
}


/* ------------------------------------------------------------
   Projects intro 
------------------------------------------------------------ */

.split--project-intro {
  align-items:flex-start;
  gap:clamp(2rem, 5vw, 6em);
}
.split__copy { max-width: none;}

.split--project-intro .section-points--project-intro {
  padding-left:clamp(2rem, 4vw, 5em);
}

.split--project-intro .section-points--project-intro::before {
  content:"";
  position:absolute;
  left:0;
  top:.2em;
  bottom:.2em;
  width:1px;
  background:linear-gradient(
    to bottom,
    transparent,
    rgba(185,138,34,.28) 12%,
    rgba(185,138,34,.28) 88%,
    transparent
  );
}

.section-points--project-intro > .eyebrow--dark {
  padding-bottom: 0.5rem;
}

.section-points--project-intro article {
  padding:1em 0;
  margin: 1em 0;
}

.section-points--project-intro article:not(:last-child) {
  border-bottom:1px solid rgba(0,0,0,.08);
}

.section-points--project-intro h3 {
  margin-bottom:.25em;
}

.section-points--project-intro p {
  max-width:52ch;
}


/* Responsive */

@media only screen and (max-width:950px) {

  .split--project-intro {
    gap:2.6em;
  }

  .split--project-intro .split__copy {
    padding-right:0;
  }

  .split--project-intro .section-points--project-intro {
    padding-left:0;
    padding-top:2.4em;
    border-top:1px solid rgba(185,138,34,.25);
  }

  .split--project-intro .section-points--project-intro::before {
    display:none;
  }

}


@media only screen and (max-width:600px) {

  .section-points--project-intro > h2 {
    font-size:1.55rem;
  }

  .section-points--project-intro article {
    padding:1em 0;
  }

}

/* Featured Projects */

.mwd-project-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:2.4em;
  margin-top:3.5em;
}

.mwd-project {
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.mwd-project:hover {
  transform:translateY(-5px);
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border-color:rgba(204,151,42,.28);
}

.mwd-project__image {
  display:block;
  position:relative;
  overflow:hidden;
  background:#111;
  /* aspect-ratio:16 / 6.2; */
}

.mwd-project__image img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s ease, opacity .6s ease;
}

.mwd-project:hover .mwd-project__image img {
  transform:scale(1.035);
  opacity:.94;
}


/* Mobile screenshot overlay */

.mwd-project-mobile {
  position:absolute;
  z-index:3;
  /* top: clamp(80px, 8vw, 140px); */
  top:33%;
  right: clamp(1em, 2vw, 1.8em);
  width: clamp(60px, 6.5vw, 100px);
  pointer-events:none;
}

.mwd-project-mobile img {
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  box-shadow:
    0 18px 35px rgba(0,0,0,.28),
    0 4px 10px rgba(0,0,0,.18);
}


/* Project content */

.mwd-project__content {
  padding:2em 2em 1.7em;
}

.mwd-project:has(.mwd-project-mobile) .mwd-project__content {
  padding-right:clamp(2em, 4vw, 4.4em);
}

.mwd-project__type {
  color:#b98a22;
  color:var(--mwd-gold-dark);
  font-size:.72rem;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin:0 0 .6em;
}

.mwd-project h3 {
  color:#171717;
  font-size:clamp(1.45rem, 1.8vw, 2rem);
  line-height:1.15;
  font-weight:400;
  margin:0 0 .65em;
}

.mwd-project__content > p:not(.mwd-project__type) {
  color:#555;
  font-size:.98rem;
  line-height:1.75;
  margin:0 0 1.6em;
  max-width:58ch;
}


/* Services row */

.mwd-project__services {
  display:flex;
  align-items:center;
  gap:.8em;
  padding-top:1em;
  margin-top:1.2em;
  border-top:1px solid rgba(185,138,34,.35);
  color:#555;
  font-size:.82rem;
  line-height:1.4;
}

.mwd-project__services span {
  position:relative;
  flex:0 0 auto;
  color:#222;
  font-weight:700;
  padding-left:1.9em;
}

.mwd-project__services span::before {
  content:"\f00c";
  font-family:"Font Awesome 5 Free";
  font-weight:900;
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:1.25em;
  height:1.25em;
  border:1px solid #d5a63d;
  border-radius:50%;
  color:#d5a63d;
  font-size:.72em;
  line-height:1.25em;
  text-align:center;
}

.mwd-project__services ul {
  display:flex;
  flex-wrap:wrap;
  gap:.45em .75em;
  list-style:none;
  padding:0;
  margin:0;
}

.mwd-project__services li {
  position:relative;
  padding-left:.75em;
  color:#666;
}

.mwd-project__services li:not(:first-child)::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:1em;
  background:rgba(0,0,0,.16);
}


/* Project link */

.mwd-project__link {
  display:inline-flex;
  align-items:center;
  gap:.7em;
  margin-top:1.5em;
  color:var(--mwd-gold-dark);
  font-size:.78rem;
  line-height:1;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
}

.mwd-project__link::after {
  content:"";
  display:inline-block;
  width:.85em;
  height:.85em;
  background-color:currentColor;
  -webkit-mask:url('/core_assets/icons/arrow-right.svg') no-repeat center / contain;
  mask:url('/core_assets/icons/arrow-right.svg') no-repeat center / contain;
  transition:transform .25s ease;
}

.mwd-project__link:hover::after {
  transform:translateX(4px);
}


/* Responsive */

@media only screen and (max-width:950px) {

  .mwd-project-grid {
    gap:1.8em;
  }

  .mwd-project__content {
    padding:1.6em;
  }

  .mwd-project:has(.mwd-project-mobile) .mwd-project__content {
    padding-right:1.6em;
  }

  .mwd-project-mobile {
    top:clamp(1.8em, 5vw, 4.6em);
    right:1em;
    width:clamp(62px, 9vw, 92px);
  }

  .mwd-project__services {
    align-items:flex-start;
    flex-direction:column;
    gap:.75em;
  }

  .mwd-project__services ul {
    gap:.45em .65em;
  }

}


@media only screen and (max-width:760px) {

  .mwd-project-grid {
    grid-template-columns:1fr;
    margin-top:2.8em;
  }

  .mwd-project__image {
    aspect-ratio:16 / 8.5;
  }

  .mwd-project-mobile {
    top:clamp(1.4em, 8vw, 4.2em);
    right:1.2em;
    width:clamp(76px, 17vw, 115px);
  }

}


@media only screen and (max-width:500px) {

  .mwd-project__content {
    padding:1.4em 1.3em 1.5em;
  }

  .mwd-project:has(.mwd-project-mobile) .mwd-project__content {
    padding-right:1.3em;
  }

  .mwd-project-mobile {
    width:clamp(62px, 19vw, 86px);
    right:.8em;
    top:1.1em;
  }

  .mwd-project__services ul {
    flex-direction:column;
    gap:.35em;
  }

  .mwd-project__services li {
    padding-left:0;
  }

  .mwd-project__services li:not(:first-child)::before {
    display:none;
  }

}


/* Ready to Start Your New Project? */
.new-project .split {
  grid-template-columns: 1.1fr 0.9fr;
}

.new-project-consultation {
  margin-top: 5rem;
}