/* ==========================================================================
   home.css — homepage sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.hero {
  width: 100%;
  display: block;
  height: 90vh;
  position: relative;
}

.hero__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  padding: 200px 50px 30px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

.hero__media {
  position: absolute;
  top: 10px;
  right: 50px;
  bottom: 100px;
  left: 50px;
  overflow: hidden;
  border-radius: 20px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  width: 80vw;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.hero__title {
  text-align: center;
  color: var(--color-white);
  font-size: 3rem;
  text-transform: uppercase;
}

.hero__subtitle {
  max-width: 50rem;
  text-align: center;
  font-size: 1.7rem;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 300;
}

@media (max-width: 1120px) {
  .hero__media {
    left: 25px;
    right: 25px;
  }
}

@media (max-width: 991px) {
  .hero__media {
    left: 10px;
    right: 10px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .hero__media {
    left: 5px;
    right: 5px;
  }

  .hero__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 479px) {
  .hero__media {
    bottom: 50px;
  }

  .hero__subtitle {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   2. Intro + Mission / Vision / Strategy
   -------------------------------------------------------------------------- */

.intro {
  text-align: left;
  z-index: 2;
}

.intro__inner {
  max-width: 100%;
  padding-top: 0;
  align-items: center;
}

.intro__text {
  font-size: 1.2rem;
  max-width: 55rem;
}

.intro .btn {
  margin-top: 75px;
  align-self: auto;
}

@media (max-width: 991px) {
  .intro__text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .intro__text {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   3. Sustainability
   -------------------------------------------------------------------------- */

.sustainability {
  width: 100%;
  display: block;
  background-color: var(--color-orange);
  text-align: left;
  position: relative;
  min-height: 100vh;
}

.sustainability__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  min-height: inherit;
  padding: 0 0 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sustainability__leaf {
  width: 40vw;
  height: 40vw;
  position: absolute;
  right: 10%;
  bottom: 5%;
  opacity: 0.1;
  z-index: 0;
}

.sustainability__leaf svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sustainability__media {
  width: 30vw;
  height: 100%;
  min-height: 30vh;
  align-self: flex-start;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sustainability__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0% 0% 0% 0% round 0px 0px 70px 0px);
  z-index: -1;
}

.sustainability__body {
  width: 70vw;
  z-index: 1;
  padding-left: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sustainability__content {
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sustainability__title {
  color: var(--color-white);
}

.sustainability__text {
  color: var(--color-white);
  font-size: 1.2rem;
}

.sustainability .btn {
  margin-top: 50px;
}

@media (max-width: 1120px) {
  .sustainability__body {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 991px) {
  .sustainability__text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .sustainability {
    overflow: hidden;
  }

  .sustainability__inner {
    flex-direction: column;
  }

  .sustainability__leaf {
    width: 150vw;
    height: 150vw;
    right: -80%;
  }

  .sustainability__media {
    width: 100vw;
    height: 30vh;
  }

  .sustainability__body {
    width: 100vw;
  }

  .sustainability__content {
    text-align: left;
    align-items: center;
    margin-top: 15vw;
  }

  .sustainability__text {
    text-align: center;
  }
}

@media (max-width: 479px) {
  .sustainability {
    height: 90vh;
  }
}

/* --------------------------------------------------------------------------
   4. Featured project
   -------------------------------------------------------------------------- */

.project-feature {
  width: 100%;
  display: block;
  text-align: left;
  height: 60vh;
  margin-top: 150px;
}

.project-feature__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.project-feature__media {
  width: 70%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-link {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.project-link__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.project-link:hover .project-link__image {
  filter: brightness(0.7);
}

.project-link__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 20px 0;
  background-color: var(--color-orange);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-link__caption p {
  color: var(--color-white);
  text-align: center;
  font-size: 1.2rem;
}

.project-feature__aside {
  width: 30%;
  height: 100%;
  background-color: var(--color-navy);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.project-feature__title {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .project-feature__inner {
    padding-right: 20px;
    padding-left: 20px;
    flex-direction: column-reverse;
  }

  .project-feature__media {
    width: 100%;
  }

  .project-link {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .project-feature__aside {
    width: 100%;
    height: 20%;
    background-color: var(--color-white);
  }

  .project-feature__title {
    color: var(--color-navy);
  }
}

/* --------------------------------------------------------------------------
   5. Closing call to action
   -------------------------------------------------------------------------- */

.cta {
  width: 100%;
  display: block;
  text-align: justify;
}

.cta__inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 150px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
}

.cta__panel {
  width: 80%;
  padding: 50px;
  background-color: var(--color-orange);
  background-image: linear-gradient(90deg, #efa124, #f16623);
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: left;
}

.cta__title {
  color: var(--color-white);
  font-weight: 600;
  font-size: 3rem;
  text-align: center;
}

@media (max-width: 991px) {
  .cta__title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .cta__panel {
    width: 90%;
  }

  .cta__title {
    font-size: 1.5rem;
    text-align: right;
  }
}

@media (max-width: 479px) {
  .cta__panel {
    width: 95%;
  }
}
