/* Homepage Redesign styling */

.wrapper {
  display: block;
  margin: auto;
  max-width: 1280px;
}

a {
  transition: all 0.5s ease-in-out;
}

/* Hero section */

.hero {
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
  max-height: 720px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero:before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.hero:after {
  background-image: linear-gradient(
    to bottom,
    rgba(51, 60, 70, 0) 33%,
    rgba(26, 28, 31, 0.81) 100%
  );
  bottom: 0;
  content: "";
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  max-width: 100%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
}

.hero-content {
  color: #fff;
  position: absolute;
  top: -105px;
}

.hero-content-title {
  font-family: "UniversLTW04-45Light";
  font-size: 36px;
  font-weight: normal;
  line-height: 1;
  margin: 0 0 20px;
}

.hero-content-title span {
  font-family: "UniversLTW04-75Black";
}

.hero-content p {
  font-family: "UniversLTW04-45Light";
  font-size: 20px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0 0 40px;
  max-width: 600px;
}

.hero-content-btn {
  background-color: #f0b41b;
  display: inline-block;
  padding: 9px 11px 6px;
}

.hero-content-btn svg {
  transition: all 0.5s ease-in-out;
}

/* Section media */
.section-video,
.section-image{
  margin: 40px 0;
}


/* Section title */
.section-heading {
  padding: 20px 20px;
}
.section-heading--full{
  margin: 20px 0;
  padding: 20px 0;
}
.section-heading--news,
.section-heading--full{
  margin: auto;
  max-width: 1280px;
}

.section-heading h2 {
  color: #222720;
  font-family: "UniversLTW04-75Black";
  font-size: 40px;
  line-height: 1;
  margin: 0 0 18px;
}

.section-heading .intro-copy {
  color: #222720;
  font-family: "UniversLTW05-55Roman";
  font-size: 22px;
}

.section-heading p,
.section-heading .text-section--list{
  color: #848485;
  font-size: 17px;
  margin: 0 0 15px 30px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading-link {
  color: #222720;
  font-family: "UniversLTW05-55Roman";
  font-size: 18px;
  position: relative;
  text-decoration: none;
}

.section-heading-link:before,
.section-heading-link:after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 0;
  height: 2px;
  margin: 2px 0 0;
  transition: width 0.5s;
  opacity: 0;
}

.section-heading-link:after {
  left: 0;
  background-color: #f0b41b;
}

.section-heading-link:hover:after,
.section-heading-link:hover:before,
.section-heading-link:focus:after,
.section-heading-link:focus:before,
.section-heading-link:active:after,
.section-heading-link:active:before {
  width: 100%;
  opacity: 1;
}

.section-heading-link svg {
  margin-left: 2px;
}

/* Work Grid */

.work {
  padding: 20px;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  display: grid;
  grid-gap: 10px 10px;
  grid-template-columns: 1fr;
  margin: auto;
  max-width: 1280px;
}

.work-item {
  background: #000;
  display: inline-block;
  flex: 0 0 49.5%;
  height: 0;
  margin-bottom: 10px;
  padding-top: calc(416 / 832 * 100%);
  position: relative;
  overflow: hidden;
}

.work-item:hover {
  cursor: pointer;
}

.work-item::after {
  background-image: linear-gradient(
    to bottom,
    rgba(51, 60, 70, 0) 33%,
    rgba(26, 28, 31, 0.81) 100%
  );
  bottom: 0;
  content: "";
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-item img {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: all 0.5s ease-in-out;
  width: 100%;
  display: block;
}

.work-item-content {
  bottom: 0;
  color: #fff;
  padding: 20px;
  position: absolute;
  z-index: 1;
  width: 97%;
}

.work-item-title {
  font-family: "UniversLTW04-75Black";
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-item-location {
  font-family: "UniversLTW05-55Roman";
  font-size: 16px;
}

.work-item-arrow {
  bottom: 20px;
  position: absolute;
  right: 20px;
  transition: all 0.5s ease-in-out;
  z-index: 2;
  display: none !important;
}

.work-item:hover .work-item-arrow {
  transform: translateX(8px);
}

/* Testimonial */

.testimonial-section {
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 1) 15%,
      rgba(255, 255, 255, 0) 15%
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 35%,
      rgba(246, 246, 246, 1) 35%
    );
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
}

.testimonial {
  margin: auto;
  max-width: 850px;
  position: relative;
}

.testimonial-blockquote {
  background-color: #fff;
  border: 1px solid #f6f6f6;
  box-shadow: 0 2px 10px 0 #c1c1c1;
  color: #222720;
  display: none;
  font-family: "UniversLTW05-55Roman";
  font-size: 18px;
  padding: 60px 50px 60px 65px;
  position: relative;
  z-index: 1;
}

.testimonial-blockquote:before {
  content: url("../images/quote-small.svg");
  left: 20px;
  position: absolute;
}

.testimonial-blockquote strong {
  font-family: "UniversLTW04-75Black";
}

.testimonial-credit {
  font-family: "UniversLTW05-55Roman";
  font-size: 15px;
  margin: 25px 0 10px;
  position: relative;
}

.testimonial-credit:before {
  background-color: #222720;
  content: "";
  display: block;
  height: 2px;
  left: -40px;
  margin-top: 8px;
  position: absolute;
  width: 20px;
}

.testimonial-company {
  color: #686869;
  font-size: 14px;
  font-style: italic;
  margin: 0 0 40px 0;
}

.testimonial-link {
  align-items: center;
  bottom: 0;
  color: #222720;
  display: inline-block;
  display: flex;
  font-size: 15px;
  position: absolute;
  right: 0;
  text-decoration: none;
}

.testimonial-link:hover,
.testimonial-link:focus {
  text-decoration: none;
}

.testimonial-link-svg-wrapper {
  background-color: #f0b41b;
  height: 20px;
  padding: 20px;
  margin-bottom: -1px;
  margin-left: 20px;
  margin-right: -1px;
  position: relative;
  vertical-align: bottom;
}

.testimonial-link-svg-wrapper:after {
  content: "";
  display: block;
  background-color: #222720;
  height: 100%;
  left: 0;
  position: absolute;
  transform-origin: left 50%;
  transform: scaleX(0);
  transition-property: transform;
  transition-duration: 0.5s;
  top: 0;
  width: 100%;
  z-index: 1;
}

.testimonial-link:hover .testimonial-link-svg-wrapper:after {
  transform: scaleX(1);
}

.testimonial-link .testimonial-arrow {
  fill: #222720;
}

.testimonial-link:hover .testimonial-arrow {
  fill: #f0b41b;
  position: relative;
  z-index: 2;
}

/* People Section */

.people {
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.people-links-list {
  margin-left: 30px;
}

.people-links-item {
  margin: 20px 0;
}

.people-links-item:first-child {
  margin-top: 0;
}

.people-links-link {
  color: #222720;
  font-family: "UniversLTW05-55Roman";
  font-size: 30px;
  position: relative;
  text-decoration: none;
}

.people-links-link:before {
  background-color: #222720;
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 3px;
  margin: 3px 0 0;
  opacity: 1;
  transition: width 0.5s;
  width: 100%;
}

.people-links-link:after {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 0;
  height: 3px;
  margin: 3px 0 0;
  transition: width 0.5s;
  opacity: 0;
}

.people-links-link:after {
  left: 0;
  background-color: #f0b41b;
}

.people-links-link:hover:after,
.people-links-link:focus:after {
  width: 100%;
  opacity: 1;
}

.cta {
  display: inline-block;
  margin-top: 10px;
  overflow: hidden;
  max-height: 425px;
  max-width: 756px;
  overflow: hidden;
  position: relative;
}
.cta::after{
  background-image: linear-gradient(to bottom, rgba(51, 60, 70, 0) 33%, rgba(26, 28, 31, 0.81) 100%);
  bottom: 0;
  content: "";
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
  z-index:0;
}

.cta-img {
  height: auto;
  position: relative;
  width: 100%;
  z-index: 0;
  display:block;
}

.cta-content {
  bottom: 0px;
  max-width: 70%;
  padding: 0 20px 20px 20px;
  position: absolute;
  z-index: 1;
}

.cta-title {
  color: #fff;
  font-family: "UniversLTW04-75Black";
  font-size: 17px;
  margin-bottom: 5px;
}

.cta-desc {
  color: #fff;
  font-size: 14px;
}

.cta-link {
  align-items: center;
  bottom: 5px;
  color: #fff;
  display: inline-block;
  display: flex;
  font-family: "UniversLTW05-55Roman";
  font-size: 16px;
  position: absolute;
  right: 0;
  text-decoration: none;
  z-index: 1;
}

.cta-link-svg-wrapper {
  background-color: #f0b41b;
  height: 20px;
  padding: 20px;
  margin-left: 20px;
  position: relative;
  vertical-align: bottom;
}

.cta-link-svg-wrapper:after {
  content: "";
  display: block;
  background-color: #222720;
  height: 100%;
  left: 0;
  position: absolute;
  transform-origin: left 50%;
  transform: scaleX(0);
  transition-property: transform;
  transition-duration: 0.5s;
  top: 0;
  width: 100%;
  z-index: 1;
}

.cta:hover .cta-link-svg-wrapper:after {
  transform: scaleX(1);
}

.cta-link-text {
  display: none;
}

.cta-arrow {
  fill: #222720;
}

.cta:hover .cta-arrow {
  fill: #f0b41b;
  position: relative;
  z-index: 2;
}

/* News section */

.news {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 20%,
    rgba(246, 246, 246, 1) 20%
  );
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.news-grid {
  margin: auto;
  max-width: 1280px;
}

.news-item {
  background-color: #fff;
  border: 1px solid #f6f6f6;
  box-shadow: 0 2px 10px 0 #c1c1c1;
  box-sizing: border-box;
  display: inline-block;
  margin-bottom: 10px;
  padding: 20px;
  text-decoration: none;
  width: 100%;
}

.news-item-date {
  color: #9ea0a1;
  font-family: "UniversLTW05-55Roman";
  font-size: 14px;
  font-style: italic;
  margin-bottom: 10px;
}

.news-item-title {
  color: #222720;
  display: inline;
  font-family: "UniversLTW05-55Roman";
  font-size: 18px;
  line-height: 1.7;
  text-decoration: none;
  background-image: linear-gradient(#f0b41b, #f0b41b);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.5s;
}

.news-item:hover .news-item-title,
.news-item:focus .news-item-title {
  background-size: 100% 2px;
}

footer {
  background-color: #f0b41b;
  padding: 40px 0;
}

.wrapper--footer {
  background-color: transparent;
  padding: 0 20px;
}

.contact-info-title {
  color: #222720;
  display: block;
  font-family: "UniversLTW04-75Black";
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-info-link {
  background-color: transparent;
  border: 2px solid #222720;
  box-sizing: border-box;
  color: #222720;
  display: inline-block;
  font-family: "UniversLTW04-75Black";
  margin-bottom: 20px;
  padding: 20px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.contact-info-link:after {
  content: "";
  display: block;
  background-color: #222720;
  height: 100%;
  left: 0;
  position: absolute;
  transform-origin: left 50%;
  transform: scaleX(0);
  transition-property: transform;
  transition-duration: 0.5s;
  top: 0;
  width: 100%;
  z-index: 1;
}

.contact-info-link:hover:after {
  transform: scaleX(1);
}

.contact-info-link:hover,
.contact-info-link:focus {
  color: #f0b41b;
}

.contact-info-link span {
  position: relative;
  z-index: 2;
}

.social-list {
  display: flex;
  justify-content: space-between;
}

.social-list-item {
  padding-right: 20px;
}

.social-list-item:last-child {
  padding-right: 0;
}

.social-list-link {
  display: inline-block;
}

.social-list-icon-circle-full {
  display: none;
}

.social-list-link:hover .social-list-icon,
.social-list-link:focus .social-list-icon {
  fill: #f0b41b;
}

.social-list-link:hover .social-list-icon-circle-hollow,
.social-list-link:focus .social-list-icon-circle-hollow {
  display: none;
}

.social-list-link:hover .social-list-icon-circle-full,
.social-list-link:focus .social-list-icon-circle-full {
  display: block;
}

/* Breakpoint: 768px */

@media (min-width: 768px) {
  /* Hero */

  .hero-content {
    padding: 0;
    top: -170px;
  }

  .hero-content-title {
    font-size: 70px;
    margin: 0 0 35px;
  }

  .hero-content-btn {
    padding: 17px 16px 12px;
  }

  .hero-content-btn:hover svg {
    transform: translateY(8px);
  }

  .hero-content-btn:focus svg {
    transform: none;
  }

  .section-heading--news {
    align-items: baseline;
    display: flex;
  }

  .section-heading-link {
    margin-left: 45px;
  }

  /* Section Title */
  .section-heading {
    padding: 40px 6%; //4%
  }
  .section-heading--full{
    padding:40px 0px;
  }

  /* Case Studies */

  .work {
    padding: 40px 20px;
  }

  .work-grid {
    grid-gap: 10px 10px;
    grid-template-columns: 1fr 1fr;
  }

  .work-item {
    margin-bottom: 0;
  }

  .work-item-content {
    padding: 0 40px 40px;
    width: 98%;
  }

  .work-item-title {
    font-size: 22px;
  }

  .work-item-location {
    font-size: 18px;
  }

  .work-item-arrow {
    bottom: 40px;
    right: 40px;
  }

  .work-item:hover .work-item-arrow {
    transform: translateX(8px);
  }

  /* Testimonial */

  .testimonial-section {
    padding: 40px 20px;
  }

  .testimonial-blockquote {
    font-size: 24px;
    padding: 60px 50px 60px 120px;
  }

  .testimonial-blockquote:before {
    content: url("../images/quote.svg");
    left: 50px;
  }

  .testimonial-credit {
    font-size: 18px;
    margin-top: 45px;
  }

  .testimonial-credit:before {
    left: -70px;
    width: 40px;
  }

  .testimonial-company {
    margin: 0;
  }

  .testimonial-link {
    font-size: 18px;
  }

  /* People */

  .people {
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 15%,
        rgba(255, 255, 255, 0) 15%
      ),
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 80%,
        rgba(246, 246, 246, 1) 20%
      );
  }

  .wrapper--people {
    display: flex;
    justify-content: flex-end;
    margin-left: 30px;
  }

  .people-links-list {
    margin-left: 0;
    padding-right: 90px;
    width: 50%;
  }

  .cta {
    margin-top: 10px;
  }

  .cta-content {
    padding: 40px;
  }

  .cta-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .cta-img {
    width: auto;
  }

  .cta-link {
    bottom: 0;
  }

  .cta-link-text {
    display: inline-block;
  }

  /* News section */
  .news {
    padding-bottom: 80px;
  }

  .news-grid {
    display: flex;
    flex-wrap: wrap;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
  }

  .news-item {
    padding: 40px 30px;
    width: 100%;
  }

  .news-item-date {
    margin-bottom: 20px;
  }

  /* Footer */

  .wrapper--footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }

  .contact-info-title {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 20px;
  }

  .contact-info-link {
    margin-bottom: 0;
    text-align: left;
    width: auto;
  }
}

/* Breakpoint: 1024px */

@media (min-width: 1024px) {
  /* Section Title */
  .section-heading {
    padding: 40px 6%; //4%
  }
  .section-heading--full{
    padding:40px 0px;
  }

  .section-video .wrapper{
    padding: 0 105px;
  }
  .section-heading p,
  .section-heading .text-section--list{
    color: #848485;
    font-size: 17px;
    margin: 0 0 30px 6%;
  }

  .section-heading h2 {
    font-size: 60px;
    margin-bottom: 48px;
  }

  .wrapper--people {
    justify-content: space-between;
    margin-left: 0px;
    max-width: 1340px;
    padding-left: 185px;
  }

  .people-links-list {
    margin-left: 85px;
    width: 25%;
  }
}

/* Breakpoint: 1600px */

@media (min-width: 1600px) {
  .wrapper--people {
    max-width: 1280px;
    margin: auto;
    padding-left: 105px;
  }

  .people-links-list {
    margin-left: 0;
  }
}

/* IE specific styles */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .work-item {
    margin-right: 10px;
    margin-bottom: 10px;
    padding-top: 25%;
  }

  .work-item:nth-child(even) {
    margin-right: 0;
  }

  .work-item img {
    height: auto;
  }

  .news-item {
    width: 32.5%;
    margin-right: 10px;
  }

  .news-item:nth-child(3n) {
    margin-right: 0;
  }
}
