/* Projects page: masonry gallery, page header and compact footer. */

/* Lenis — the Webflow base sets html { height: 100% }, which stops Lenis from
   seeing the page grow as lazy images load, so scrolling got stuck part-way. */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.projects_header {
  padding-top: 9rem;
  padding-bottom: 3rem;
}

.projects_title {
  color: var(--primary-color);
  text-transform: capitalize;
  font-family: "Century Gothic", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.projects_subtext {
  color: var(--primary-color);
  max-width: 34rem;
  margin-top: 1.2rem;
  font-family: "Century Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.projects_title .line {
  padding-bottom: .4rem;
  overflow: hidden;
}

.projects_subtext .line {
  padding-bottom: .1rem;
  overflow: hidden;
}

.projects_section {
  padding-bottom: 8rem;
  overflow-x: clip;
}

.projects_grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.projects_section-heading {
  column-span: all;
  margin: 3rem 0 1.5rem;
  color: var(--primary-color);
  text-transform: capitalize;
  font-family: "Century Gothic", sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
}

.projects_card {
  break-inside: avoid;
  flex-direction: column;
  margin: 0 0 2.25rem;
  display: flex;
}

.projects_card-media {
  background-color: #f2f2f2;
  border-radius: .2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, .18), 0 .35rem .9rem rgba(0, 0, 0, .09);
  transition: box-shadow .6s cubic-bezier(.25, .46, .45, .94);
}

.projects_card:hover .projects_card-media {
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, .26), 0 .5rem 1.2rem rgba(0, 0, 0, .12);
}

.projects_card-curtain {
  z-index: 2;
  background-color: var(--secondary-color);
  display: none;
  position: absolute;
  inset: 0;
}

.projects_grid.is-animated .projects_card-curtain {
  display: block;
}

.projects_card-frame {
  width: 100%;
}

.projects_card-image {
  width: 100%;
  height: auto;
  display: block;
}

.projects_card-caption {
  color: var(--primary-color);
  text-align: left;
  padding-top: .7rem;
  font-family: "Century Gothic", sans-serif;
  font-size: .9rem;
  line-height: 1.3;
}

.footer.is-simple {
  min-height: auto;
  margin-top: 0;
}

.footer.is-simple .footer_wrapper {
  min-height: auto;
  position: static;
}

@media screen and (max-width: 991px) {
  .projects_header {
    padding-top: 8rem;
  }

  .projects_grid {
    column-count: 2;
  }
}

@media screen and (max-width: 767px) {
  .projects_grid {
    column-gap: 1rem;
  }

  .projects_section-heading {
    font-size: 1.8rem;
  }

  .projects_card {
    margin-bottom: 1.8rem;
  }

  .projects_section {
    padding-bottom: 5rem;
  }
}

@media screen and (max-width: 479px) {
  .projects_header {
    padding-top: 7rem;
  }

  .projects_title {
    font-size: 2.4rem;
  }

  .projects_grid {
    column-count: 1;
  }
}
